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

Re: [Xen-devel] Network not working after restore with qemu-xen windows domU and gplpv



Can you make sure you don't specified mac for vif then

$ xl save $WIN saved.img
$ hexdump -C -n1024 saved.img

Look for nics in output and paste the it here. You might want to change
1024 to something larger if you specified many options in your config
file.

A sample output for my PV guest which doesn't have mac specified.

00000000  58 65 6e 20 73 61 76 65  64 20 64 6f 6d 61 69 6e  |Xen saved domain|
00000010  2c 20 78 6c 20 66 6f 72  6d 61 74 0a 20 00 20 0d  |, xl format. . .|
00000020  04 03 02 01 01 00 00 00  00 00 00 00 98 03 00 00  |................|
00000030  94 03 00 00 7b 0a 20 20  20 20 22 63 5f 69 6e 66  |....{.    "c_inf|
00000040  6f 22 3a 20 7b 0a 20 20  20 20 20 20 20 20 22 74  |o": {.        "t|
[...]
000002f0  22 3a 20 31 0a 20 20 20  20 20 20 20 20 7d 0a 20  |": 1.        }. |
00000300  20 20 20 5d 2c 0a 20 20  20 20 22 6e 69 63 73 22  |   ],.    "nics"|
00000310  3a 20 5b 0a 20 20 20 20  20 20 20 20 7b 0a 20 20  |: [.        {.  |
00000320  20 20 20 20 20 20 20 20  20 20 22 64 65 76 69 64  |          "devid|
00000330  22 3a 20 30 2c 0a 20 20  20 20 20 20 20 20 20 20  |": 0,.          |
00000340  20 20 22 6d 61 63 22 3a  20 22 30 30 3a 31 36 3a  |  "mac": "00:16:|
00000350  33 65 3a 36 61 3a 62 37  3a 35 31 22 2c 0a 20 20  |3e:6a:b7:51",.  |
00000360  20 20 20 20 20 20 20 20  20 20 22 62 72 69 64 67  |          "bridg|
00000370  65 22 3a 20 22 78 65 6e  62 72 30 22 0a 20 20 20  |e": "xenbr0".   |
00000380  20 20 20 20 20 7d 0a 20  20 20 20 5d 2c 0a 20 20  |     }.    ],.  |
00000390  20 20 22 6f 6e 5f 72 65  62 6f 6f 74 22 3a 20 22  |  "on_reboot": "|
000003a0  72 65 73 74 61 72 74 22  2c 0a 20 20 20 20 22 6f  |restart",.    "o|
000003b0  6e 5f 63 72 61 73 68 22  3a 20 22 70 72 65 73 65  |n_crash": "prese|
000003c0  72 76 65 22 0a 7d 0a 00  00 00 02 00 00 00 00 00  |rve".}..........|
000003d0  ff ff ff ff ff ff ff ff  40 14 00 00 76 63 70 75  |........@...vcpu|
000003e0  30 14 00 00 7f 03 00 00  00 00 00 00 00 00 00 00  |0...............|
000003f0  00 00 00 00 00 00 00 00  00 00 00 00 80 1f 00 00  |................|

As you can see there's a "mac" in right hand column, which is generated
by libxl and saved.

Wei.

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


 


Rackspace

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