[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Restore PVHVM DomU with a different MAC



Hi,

I created a Ubuntu-17.04-x64 PVHVM DomU, so I can use "xl
network-attach/detach" to add/delete network interfaces, it works
well.

However I wanted to restore the DomU with a different MAC address, so
before saving the checkpoit file, I deleted the network interface with
"xl netwrok-detach", and assigned a different MAC in the configuration
file and restored the DomU:

# xl network-detach ubuntu 0
# xl save ubuntu ubuntu.checkpoint
# xl restore ubuntu.cfg ubuntu.checkpoint

 But the DomU didn't detect the new network interface. In Dom0, could
see the DomU has new MAC.

# xl network-list ubuntu
Idx BE Mac Addr.         handle state evt-ch   tx-/rx-ring-ref BE-path
0   0  00:16:3e:eb:ca:67     0     1     -1    -1/-1
/local/domain/0/backend/vif/139/0

If I add network interface manually after restoring, the DomU can
detect new network interface automatically.

# xl network-attach ubuntu type=vif mac=00:16:3e:eb:ca:68 bridge=virbr0

# xl network-list ubuntu
Idx BE Mac Addr.         handle state evt-ch   tx-/rx-ring-ref BE-path
0   0  00:16:3e:eb:ca:67     0     1     -1    -1/-1
/local/domain/0/backend/vif/139/0
1   0  00:16:3e:eb:ca:68     1     4     -1   529/528
/local/domain/0/backend/vif/139/1

Is it a bug?

Thanks

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.