All of lore.kernel.org
 help / color / mirror / Atom feed
* Network not working after restore with qemu-xen windows domU and gplpv
@ 2013-04-24 14:06 Fabio Fantoni
  2013-04-24 15:36 ` Ian Campbell
  0 siblings, 1 reply; 8+ messages in thread
From: Fabio Fantoni @ 2013-04-24 14:06 UTC (permalink / raw)
  To: James Harper, xen-devel, George Dunlap, Stefano Stabellini,
	Ian Campbell


[-- Attachment #1.1.1: Type: text/plain, Size: 1617 bytes --]

I send new mail about this bug with details as required by George Dunlap.
Dom0 is Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 
version 3.2.41-2, package blktap-dkms and all dependency packages for 
xen, spice and usb redirection.
xen.git (in this build commit is 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
Other details about dom0 installation see here:
http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html

DomU is Windows 7 pro 64 bit with gplpv build 372 debug.

After restore it sees network but is not working, nor lan neither wan.
Tried with both dhcp and static ip, try also e1000 network card, tried 
also qemu 1.4.

Some logs on attachment.

If you need other details and tests tell me and I'll do them.

domU xl configuration file:
name='W7'
builder="hvm"
#device_model_override="/usr/bin/qemu-system-x86_64"
#bios="ovmf"
memory=2048
vcpus=2
#nestedhvm=1
#vif=['model=e1000,bridge=xenbr0']
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap=it']
#disk=['/mnt/vm/disks/prova/W7.disk1.xm,raw,hda,rw']
#disk=['/mnt/vm/disks/prova/W7.disk1.xm,raw,hda,rw']
disk=['/mnt/vm/disks/W7.disk1.xm,raw,hda,rw','/mnt/vm/iso/XPSP3PRO.iso,raw,hdb,ro,cdrom']
boot='dc'
device_model_version="qemu-xen"
xen_platform_pci=1
#viridian=1
vnc=0
#vncunused=1
#vnclisten="0.0.0.0"
#keymap="it"
#on_poweroff="destroy"
#on_reboot="restart"
on_crash="destroy"
#stdvga=1
vga="stdvga"
#videoram=16
spice=1
spicehost='0.0.0.0'
spiceport=6002
spicedisable_ticketing=1
soundhw="hda"
localtime=1
#usb=1
#usbdevice="host:058f:6387"

[-- Attachment #1.1.2: log-command-and-qemu.txt --]
[-- Type: text/plain, Size: 34911 bytes --]

xl -vvv save W7 /mnt/vm/save/W7
Saving to /mnt/vm/save/W7 new xl format (info 0x0/0x0/3304)
libxl: debug: libxl.c:763:libxl_domain_suspend: ao 0x1e1f8d0: create: how=(nil) callback=(nil) poller=0x1e1f840
libxl: debug: libxl_dom.c:1208:libxl__toolstack_save: domain=7 toolstack data size=49
libxl: debug: libxl.c:785:libxl_domain_suspend: ao 0x1e1f8d0: inprogress: poller=0x1e1f840, flags=i
libxl-save-helper: debug: starting save: Success
xc: detail: xc_domain_save: starting save of domid 7
libxl: debug: libxl_dom.c:1016:libxl__domain_suspend_common_callback: issuing PVHVM suspend request via event channel
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-7
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "stop",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: event
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-7
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "xen-save-devices-state",
    "id": 2,
    "arguments": {
        "filename": "/var/lib/xen/qemu-save.7"
    }
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
xc: debug: outbuf_write: 4194304 > 90092@16687124
xc: debug: outbuf_write: 4194304 > 4169716@12607500
xc: debug: outbuf_write: 4194304 > 4169716@12607500
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 1372160 > 4080@16773136                      
xc: debug: outbuf_write: 3584000 > 69616@16707600                     
xc: debug: outbuf_write: 4194304 > 352240@16424976                     
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 491504@16285712                     
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: detail: type fail: page 949 mfn 0007e3b5                           
xc: detail: type fail: page 950 mfn 0007e3b6                           
xc: detail: type fail: page 951 mfn 0007e3b7                           
xc: detail: type fail: page 952 mfn 0007e3b8                           
xc: detail: type fail: page 953 mfn 0007e3b9                           
xc: detail: type fail: page 954 mfn 0007e3ba                           
xc: detail: type fail: page 955 mfn 0007e3bb                           
xc: detail: type fail: page 956 mfn 0007e3bc                           
xc: detail: type fail: page 957 mfn 0007e3bd                           
xc: detail: type fail: page 958 mfn 0007e3be                           
xc: detail: type fail: page 959 mfn 0007e3bf                           
xc: detail: type fail: page 960 mfn 0007e3c0                           
xc: detail: type fail: page 961 mfn 0007e3c1                           
xc: detail: type fail: page 962 mfn 0007e3c2                           
xc: detail: type fail: page 963 mfn 0007e3c3                           
xc: detail: type fail: page 964 mfn 0007e3c4                           
xc: detail: type fail: page 965 mfn 0007e3c5                           
xc: detail: type fail: page 966 mfn 0007e3c6                           
xc: detail: type fail: page 967 mfn 0007e3c7                           
xc: detail: type fail: page 968 mfn 0007e3c8                           
xc: detail: type fail: page 969 mfn 0007e3c9                           
xc: detail: type fail: page 970 mfn 0007e3ca                           
xc: detail: type fail: page 971 mfn 0007e3cb                           
xc: detail: type fail: page 972 mfn 0007e3cc                           
xc: detail: type fail: page 973 mfn 0007e3cd                           
xc: detail: type fail: page 974 mfn 0007e3ce                           
xc: detail: type fail: page 975 mfn 0007e3cf                           
xc: detail: type fail: page 976 mfn 0007e3d0                           
xc: detail: type fail: page 977 mfn 0007e3d1                           
xc: detail: type fail: page 978 mfn 0007e3d2                           
xc: detail: type fail: page 979 mfn 0007e3d3                           
xc: detail: type fail: page 980 mfn 0007e3d4                           
xc: debug: outbuf_write: 4194304 > 98288@16678928                      
xc: debug: outbuf_write: 4194304 > 4030448@12746768                    
xc: detail: type fail: page 0 mfn 000f1000                             
xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048575/1048575  100%
xc: detail: delta 17604ms, dom0 5%, target 0%, sent 981Mb/s, dirtied 0Mb/s 0 pages
xc: detail: Total pages sent= 527360 (0.50x)                             
xc: detail: (of which 0 were fixups)                                     
xc: detail: All memory is saved                                          
xc: detail: Save exit of domid 7 with rc=0                               
libxl-save-helper: debug: complete r=0: Success                          
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-7
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp     
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "stop",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-7
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp     
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "xen-save-devices-state",
    "id": 2,
    "arguments": {
        "filename": "/var/lib/xen/qemu-save.7"
    }
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_dom.c:1439:libxl__domain_save_device_model: qemu save file /var/lib/xen/qemu-save.7 is 14578 bytes
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x1e1f8d0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x1e1f8d0: destroy
libxl: debug: libxl.c:1251:libxl_domain_destroy: ao 0x1e1f8d0: create: how=(nil) callback=(nil) poller=0x1e1f840
libxl: debug: libxl_dm.c:1318:libxl__destroy_device_model: Device Model signaled
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x1e217e8 wpath=/local/domain/0/backend/vbd/7/768/state token=3/0: register slotnum=3
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x1e25118 wpath=/local/domain/0/backend/vbd/7/832/state token=2/1: register slotnum=2
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x1e25378 wpath=/local/domain/0/backend/vif/7/0/state token=1/2: register slotnum=1
libxl: debug: libxl.c:1260:libxl_domain_destroy: ao 0x1e1f8d0: inprogress: poller=0x1e1f840, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1e217e8 wpath=/local/domain/0/backend/vbd/7/768/state token=3/0: event epath=/local/domain/0/backend/vbd/7/768/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/7/768/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x1e217e8 wpath=/local/domain/0/backend/vbd/7/768/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x1e217e8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/7/768/state token=3/0: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1e25118 wpath=/local/domain/0/backend/vbd/7/832/state token=2/1: event epath=/local/domain/0/backend/vbd/7/832/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/7/832/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x1e25118 wpath=/local/domain/0/backend/vbd/7/832/state token=2/1: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x1e25118: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/7/832/state token=2/1: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1e25378 wpath=/local/domain/0/backend/vif/7/0/state token=1/2: event epath=/local/domain/0/backend/vif/7/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/7/0/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x1e25378 wpath=/local/domain/0/backend/vif/7/0/state token=1/2: deregister slotnum=1
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x1e25378: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch offline
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vif/7/0/state token=1/2: empty slot
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch remove
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x1e1f8d0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x1e1f8d0: destroy
xc: debug: hypercall buffer: total allocations:193 total releases:193    
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2 
xc: debug: hypercall buffer: cache current size:2                        
xc: debug: hypercall buffer: cache hits:190 misses:2 toobig:1
---------------------------------------------------------------------------------------------------------------
/var/log/xen/qemu-dm-W7.log after save
---------------------------
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 52.365000 ms, bitrate 368809652 bps (351.724293 Mbps)
red_dispatcher_set_cursor_peer: 
inputs_connect: inputs channel client create
main_channel_handle_parsed: agent start
main_channel_handle_parsed: agent start
qemu: terminating on signal 1 from pid 13140
red_channel_client_disconnect: 0x7fbdd7d291b0 (channel 0x7fbdd7999350 type 5 id 0)
snd_channel_put: sound channel freed
red_channel_client_disconnect: 0x7fbdd7d9e200 (channel 0x7fbdd79995f0 type 6 id 0)
snd_channel_put: sound channel freed
---------------------------------------------------------------------------------------------------------------
xl -vvv restore /mnt/vm/save/W7
...
xc: detail: Mapping superpage (512) pfn 7d400, mfn 7d400
xc: detail: Mapping superpage (512) pfn 7d600, mfn 7d600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7d800, mfn 7d800
xc: detail: Mapping superpage (512) pfn 7da00, mfn 7da00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7dc00, mfn 7dc00
xc: detail: Mapping superpage (512) pfn 7de00, mfn 7de00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7e000, mfn 7e000
xc: detail: Falling back 437 pages pfn 7e200    
xc: detail: Mapping order 0,  480; first pfn 7e200
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7e400, mfn 7e400
xc: detail: Mapping superpage (512) pfn 7e600, mfn 7e600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7e800, mfn 7e800
xc: detail: Mapping superpage (512) pfn 7ea00, mfn 7ea00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7ec00, mfn 7ec00
xc: detail: Mapping superpage (512) pfn 7ee00, mfn 7ee00
xc: debug: batch 1024                           
xc: detail: Falling back 32 pages pfn 80000     
xc: detail: Mapping order 0,  32; first pfn 80000
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0000, mfn f0000
xc: detail: Mapping superpage (512) pfn f0200, mfn f0200
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0400, mfn f0400
xc: detail: Mapping superpage (512) pfn f0600, mfn f0600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0800, mfn f0800
xc: detail: Mapping superpage (512) pfn f0a00, mfn f0a00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0c00, mfn f0c00
xc: detail: Mapping superpage (512) pfn f0e00, mfn f0e00
xc: debug: batch 1024                           
xc: detail: Falling back 11 pages pfn fc000     
xc: detail: Mapping order 0,  11; first pfn fc000
xc: debug: batch 1024                           
xc: detail: Mapping order 0,  8; first pfn feff8
xc: debug: batch 0                              
xc: debug: Use new firmware ioport from the checkpoint
libxl: debug: libxl_dom.c:681:libxl__toolstack_restore: domain=8 toolstack data size=49
xc: detail: Writing 14578 bytes of QEMU data    
xc: detail: Restore exit of domid 8 with rc=0   
libxl-save-helper: debug: complete r=0: Success 
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=tap
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x13dec28 wpath=/local/domain/0/backend/vbd/8/768/state token=3/0: register slotnum=3
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=tap
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=tap
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x13dfcf8 wpath=/local/domain/0/backend/vbd/8/832/state token=2/1: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13dec28 wpath=/local/domain/0/backend/vbd/8/768/state token=3/0: event epath=/local/domain/0/backend/vbd/8/768/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/8/768/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x13dec28 wpath=/local/domain/0/backend/vbd/8/768/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x13dec28: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/8/768/state token=3/0: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13dfcf8 wpath=/local/domain/0/backend/vbd/8/832/state token=2/1: event epath=/local/domain/0/backend/vbd/8/832/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/8/832/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x13dfcf8 wpath=/local/domain/0/backend/vbd/8/832/state token=2/1: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x13dfcf8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/8/832/state token=2/1: empty slot
libxl: debug: libxl_dm.c:1215:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   /usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -xen-domid
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   8
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-8,server,nowait
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -mon
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -name
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   W7
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -global
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   isa-fdc.driveA=
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -spice
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   port=6002,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   virtio-serial
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   spicevmc,id=vdagent,name=vdagent
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   virtserialport,chardev=vdagent,name=com.redhat.spice.0
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -vga
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   std
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -boot
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   order=dc
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -soundhw
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   hda
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -smp
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   2,maxcpus=2
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:69:2d:53
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -netdev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif8.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -incoming
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   fd:14
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -M
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   xenfv
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -m
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   2032
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -drive
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   file=/mnt/vm/disks/W7.disk1.xm,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -drive
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   file=/mnt/vm/iso/XPSP3PRO.iso,if=ide,index=1,media=cdrom,format=raw,cache=writeback,id=ide-832
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x13dcb60 wpath=/local/domain/0/device-model/8/state token=2/2: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13dcb60 wpath=/local/domain/0/device-model/8/state token=2/2: event epath=/local/domain/0/device-model/8/state
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13dcb60 wpath=/local/domain/0/device-model/8/state token=2/2: event epath=/local/domain/0/device-model/8/state
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x13dcb60 wpath=/local/domain/0/device-model/8/state token=2/2: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x13dcb60: deregister unregistered
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-8
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "query-chardev",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "query-vnc",
    "id": 3
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x13e11a8 wpath=/local/domain/0/backend/vif/8/0/state token=2/3: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13e11a8 wpath=/local/domain/0/backend/vif/8/0/state token=2/3: event epath=/local/domain/0/backend/vif/8/0/state
libxl: debug: libxl_event.c:647:devstate_watch_callback: backend /local/domain/0/backend/vif/8/0/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x13e11a8 wpath=/local/domain/0/backend/vif/8/0/state token=2/3: event epath=/local/domain/0/backend/vif/8/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/8/0/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x13e11a8 wpath=/local/domain/0/backend/vif/8/0/state token=2/3: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x13e11a8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch online
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch add
libxl: debug: libxl_event.c:1737:libxl__ao_progress_report: ao 0x13dc5a0: progress report: ignored
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x13dc5a0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x13dc5a0: destroy
Daemon running with PID 13713
xc: debug: hypercall buffer: total allocations:228 total releases:228
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:220 misses:4 toobig:4
---------------------------------------------------------------------------------------------------------------
/var/log/xen/qemu-dm-W7.log after restore
xen_ram_alloc: do not alloc 7f000000 bytes of ram at 0 when runstate is INMIGRATE
xen_ram_alloc: do not alloc 1000000 bytes of ram at 7f000000 when runstate is INMIGRATE
xen_ram_alloc: do not alloc 10000 bytes of ram at 80000000 when runstate is INMIGRATE
xen_ram_alloc: do not alloc 10000 bytes of ram at 80010000 when runstate is INMIGRATE

[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4510 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2013-04-24 14:06 Network not working after restore with qemu-xen windows domU and gplpv Fabio Fantoni
@ 2013-04-24 15:36 ` Ian Campbell
  2013-04-26  9:24   ` Fabio Fantoni
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2013-04-24 15:36 UTC (permalink / raw)
  To: fantonifabio@tiscali.it
  Cc: George Dunlap, James Harper, xen-devel, Stefano Stabellini

On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
> I send new mail about this bug with details as required by George Dunlap.
> Dom0 is Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 
> version 3.2.41-2, package blktap-dkms and all dependency packages for 
> xen, spice and usb redirection.
> xen.git (in this build commit is 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
>
> Other details about dom0 installation see here:
> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
> 
> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
> 
> After restore it sees network but is not working, nor lan neither wan.
> Tried with both dhcp and static ip, try also e1000 network card, tried 
> also qemu 1.4.

Is the vif device present and on the bridge in dom0? What about the emu
device?

Can you post the output of "xenstore-ls -fp" please. 

I notice references to openvswitch in your logs -- which script are you
using, the one I recently posted or something else?

Ian.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2013-04-24 15:36 ` Ian Campbell
@ 2013-04-26  9:24   ` Fabio Fantoni
  2013-04-26  9:36     ` Ian Campbell
  0 siblings, 1 reply; 8+ messages in thread
From: Fabio Fantoni @ 2013-04-26  9:24 UTC (permalink / raw)
  To: Ian Campbell; +Cc: George Dunlap, James Harper, xen-devel, Stefano Stabellini


[-- Attachment #1.1.1: Type: text/plain, Size: 1638 bytes --]

Il 24/04/2013 17:36, Ian Campbell ha scritto:
> On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
>> I send new mail about this bug with details as required by George Dunlap.
>> Dom0 is Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64
>> version 3.2.41-2, package blktap-dkms and all dependency packages for
>> xen, spice and usb redirection.
>> xen.git (in this build commit is 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
>>
>> Other details about dom0 installation see here:
>> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
>>
>> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
>>
>> After restore it sees network but is not working, nor lan neither wan.
>> Tried with both dhcp and static ip, try also e1000 network card, tried
>> also qemu 1.4.
> Is the vif device present and on the bridge in dom0? What about the emu
> device?
>
> Can you post the output of "xenstore-ls -fp" please.
>
> I notice references to openvswitch in your logs -- which script are you
> using, the one I recently posted or something else?
>
> Ian.
>
>
Thanks for reply, the vif and the vif -emu are present, bridge also and 
is working.
Before save/restore network is working also on domU, while is not 
working after restore.
Openvswitch patch applied is your V3, I have tried also without 
openvswitch and gave same problem.
On attachment logs of save, restore, copy of vif and xenstore command 
you told me, both before and after save/restore.
If you need the same logs without openvswitch tell me and I'll post them.
Tell me also if you need other test/result/logs.

[-- Attachment #1.1.2: log.txt --]
[-- Type: text/plain, Size: 57911 bytes --]

xenstore-ls -fp #before save
/tool = ""   (n0)
/tool/xenstored = ""   (n0)
/local = ""   (n0)
/local/domain = ""   (n0)
/local/domain/0 = ""   (n0)
/local/domain/0/name = "Domain-0"   (n0)
/local/domain/0/device-model = ""   (n0)
/local/domain/0/device-model/0 = ""   (n0)
/local/domain/0/device-model/0/state = "running"   (n0)
/local/domain/0/device-model/9 = ""   (n0)
/local/domain/0/device-model/9/state = "running"   (n0)
/local/domain/0/device-model/9/physmap = ""   (n0)
/local/domain/0/device-model/9/physmap/7f000000 = ""   (n0)
/local/domain/0/device-model/9/physmap/7f000000/start_addr = "f0000000"   (n0)
/local/domain/0/device-model/9/physmap/7f000000/size = "1000000"   (n0)
/local/domain/0/device-model/9/physmap/7f000000/name = "vga.vram"   (n0)
/local/domain/0/libxl = ""   (n0)
/local/domain/0/libxl/disable_udev = "1"   (n0)
/local/domain/0/backend = ""   (n0)
/local/domain/0/backend/vbd = ""   (n0)
/local/domain/0/backend/vbd/9 = ""   (n0)
/local/domain/0/backend/vbd/9/768 = ""   (n0,r9)
/local/domain/0/backend/vbd/9/768/frontend = "/local/domain/9/device/vbd/768"   (n0,r9)
/local/domain/0/backend/vbd/9/768/tapdisk-params = "aio:/mnt/vm/disks/W7.disk1.xm"   (n0,r9)
/local/domain/0/backend/vbd/9/768/params = "/dev/xen/blktap-2/tapdev0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/script = "/etc/xen/scripts/block"   (n0,r9)
/local/domain/0/backend/vbd/9/768/physical-device = "fd:0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/frontend-id = "9"   (n0,r9)
/local/domain/0/backend/vbd/9/768/online = "1"   (n0,r9)
/local/domain/0/backend/vbd/9/768/removable = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/bootable = "1"   (n0,r9)
/local/domain/0/backend/vbd/9/768/state = "4"   (n0,r9)
/local/domain/0/backend/vbd/9/768/dev = "hda"   (n0,r9)
/local/domain/0/backend/vbd/9/768/type = "phy"   (n0,r9)
/local/domain/0/backend/vbd/9/768/mode = "w"   (n0,r9)
/local/domain/0/backend/vbd/9/768/device-type = "disk"   (n0,r9)
/local/domain/0/backend/vbd/9/768/feature-flush-cache = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/feature-discard = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/feature-barrier = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/sectors = "102400000"   (n0,r9)
/local/domain/0/backend/vbd/9/768/info = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/768/sector-size = "512"   (n0,r9)
/local/domain/0/backend/vbd/9/832 = ""   (n0,r9)
/local/domain/0/backend/vbd/9/832/frontend = "/local/domain/9/device/vbd/832"   (n0,r9)
/local/domain/0/backend/vbd/9/832/tapdisk-params = "aio:/mnt/vm/iso/XPSP3PRO.iso"   (n0,r9)
/local/domain/0/backend/vbd/9/832/params = "/dev/xen/blktap-2/tapdev1"   (n0,r9)
/local/domain/0/backend/vbd/9/832/script = "/etc/xen/scripts/block"   (n0,r9)
/local/domain/0/backend/vbd/9/832/physical-device = "fd:1"   (n0,r9)
/local/domain/0/backend/vbd/9/832/frontend-id = "9"   (n0,r9)
/local/domain/0/backend/vbd/9/832/online = "1"   (n0,r9)
/local/domain/0/backend/vbd/9/832/removable = "1"   (n0,r9)
/local/domain/0/backend/vbd/9/832/bootable = "1"   (n0,r9)
/local/domain/0/backend/vbd/9/832/state = "4"   (n0,r9)
/local/domain/0/backend/vbd/9/832/dev = "hdb"   (n0,r9)
/local/domain/0/backend/vbd/9/832/type = "phy"   (n0,r9)
/local/domain/0/backend/vbd/9/832/mode = "r"   (n0,r9)
/local/domain/0/backend/vbd/9/832/device-type = "cdrom"   (n0,r9)
/local/domain/0/backend/vbd/9/832/feature-flush-cache = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/832/feature-discard = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/832/feature-barrier = "0"   (n0,r9)
/local/domain/0/backend/vbd/9/832/sectors = "1201172"   (n0,r9)
/local/domain/0/backend/vbd/9/832/info = "5"   (n0,r9)
/local/domain/0/backend/vbd/9/832/sector-size = "512"   (n0,r9)
/local/domain/0/backend/console = ""   (n0)
/local/domain/0/backend/console/9 = ""   (n0)
/local/domain/0/backend/console/9/0 = ""   (n0,r9)
/local/domain/0/backend/console/9/0/frontend = "/local/domain/9/console"   (n0,r9)
/local/domain/0/backend/console/9/0/frontend-id = "9"   (n0,r9)
/local/domain/0/backend/console/9/0/online = "1"   (n0,r9)
/local/domain/0/backend/console/9/0/state = "1"   (n0,r9)
/local/domain/0/backend/console/9/0/domain = "W7"   (n0,r9)
/local/domain/0/backend/console/9/0/protocol = "vt100"   (n0,r9)
/local/domain/0/backend/vkbd = ""   (n0)
/local/domain/0/backend/vkbd/9 = ""   (n0)
/local/domain/0/backend/vkbd/9/0 = ""   (n0,r9)
/local/domain/0/backend/vkbd/9/0/frontend = "/local/domain/9/device/vkbd/0"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/frontend-id = "9"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/online = "1"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/state = "2"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/domain = "W7"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/feature-abs-pointer = "1"   (n0,r9)
/local/domain/0/backend/vkbd/9/0/hotplug-status = "connected"   (n0,r9)
/local/domain/0/backend/vif = ""   (n0)
/local/domain/0/backend/vif/9 = ""   (n0)
/local/domain/0/backend/vif/9/0 = ""   (n0,r9)
/local/domain/0/backend/vif/9/0/frontend = "/local/domain/9/device/vif/0"   (n0,r9)
/local/domain/0/backend/vif/9/0/frontend-id = "9"   (n0,r9)
/local/domain/0/backend/vif/9/0/online = "1"   (n0,r9)
/local/domain/0/backend/vif/9/0/state = "4"   (n0,r9)
/local/domain/0/backend/vif/9/0/script = "/etc/xen/scripts/vif-openvswitch"   (n0,r9)
/local/domain/0/backend/vif/9/0/mac = "00:16:3e:42:ae:8f"   (n0,r9)
/local/domain/0/backend/vif/9/0/bridge = "xenbr0"   (n0,r9)
/local/domain/0/backend/vif/9/0/handle = "0"   (n0,r9)
/local/domain/0/backend/vif/9/0/type = "vif_ioemu"   (n0,r9)
/local/domain/0/backend/vif/9/0/feature-sg = "1"   (n0,r9)
/local/domain/0/backend/vif/9/0/feature-gso-tcpv4 = "1"   (n0,r9)
/local/domain/0/backend/vif/9/0/feature-rx-copy = "1"   (n0,r9)
/local/domain/0/backend/vif/9/0/feature-rx-flip = "0"   (n0,r9)
/local/domain/0/backend/vif/9/0/hotplug-status = "connected"   (n0,r9)
/local/domain/9 = ""   (n0,r9)
/local/domain/9/vm = "/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5"   (n0,r9)
/local/domain/9/name = "W7"   (n0,r9)
/local/domain/9/cpu = ""   (n0,r9)
/local/domain/9/cpu/0 = ""   (n0,r9)
/local/domain/9/cpu/0/availability = "online"   (n0,r9)
/local/domain/9/cpu/1 = ""   (n0,r9)
/local/domain/9/cpu/1/availability = "online"   (n0,r9)
/local/domain/9/memory = ""   (n0,r9)
/local/domain/9/memory/static-max = "2097152"   (n0,r9)
/local/domain/9/memory/target = "2080768"   (n0,r9)
/local/domain/9/memory/videoram = "16384"   (n0,r9)
/local/domain/9/device = ""   (n0,r9)
/local/domain/9/device/suspend = ""   (n0,r9)
/local/domain/9/device/suspend/event-channel = "7"   (n9)
/local/domain/9/device/vbd = ""   (n0,r9)
/local/domain/9/device/vbd/768 = ""   (n9,r0)
/local/domain/9/device/vbd/768/backend = "/local/domain/0/backend/vbd/9/768"   (n9,r0)
/local/domain/9/device/vbd/768/backend-id = "0"   (n9,r0)
/local/domain/9/device/vbd/768/state = "4"   (n9,r0)
/local/domain/9/device/vbd/768/virtual-device = "768"   (n9,r0)
/local/domain/9/device/vbd/768/device-type = "disk"   (n9,r0)
/local/domain/9/device/vbd/768/ring-ref = "16383"   (n9,r0)
/local/domain/9/device/vbd/768/event-channel = "8"   (n9,r0)
/local/domain/9/device/vbd/832 = ""   (n9,r0)
/local/domain/9/device/vbd/832/backend = "/local/domain/0/backend/vbd/9/832"   (n9,r0)
/local/domain/9/device/vbd/832/backend-id = "0"   (n9,r0)
/local/domain/9/device/vbd/832/state = "4"   (n9,r0)
/local/domain/9/device/vbd/832/virtual-device = "832"   (n9,r0)
/local/domain/9/device/vbd/832/device-type = "cdrom"   (n9,r0)
/local/domain/9/device/vbd/832/ring-ref = "16382"   (n9,r0)
/local/domain/9/device/vbd/832/event-channel = "9"   (n9,r0)
/local/domain/9/device/vkbd = ""   (n0,r9)
/local/domain/9/device/vkbd/0 = ""   (n9,r0)
/local/domain/9/device/vkbd/0/backend = "/local/domain/0/backend/vkbd/9/0"   (n9,r0)
/local/domain/9/device/vkbd/0/backend-id = "0"   (n9,r0)
/local/domain/9/device/vkbd/0/state = "1"   (n9,r0)
/local/domain/9/device/vif = ""   (n0,r9)
/local/domain/9/device/vif/0 = ""   (n9,r0)
/local/domain/9/device/vif/0/backend = "/local/domain/0/backend/vif/9/0"   (n9,r0)
/local/domain/9/device/vif/0/backend-id = "0"   (n9,r0)
/local/domain/9/device/vif/0/state = "4"   (n9,r0)
/local/domain/9/device/vif/0/handle = "0"   (n9,r0)
/local/domain/9/device/vif/0/mac = "00:16:3e:42:ae:8f"   (n9,r0)
/local/domain/9/device/vif/0/tx-ring-ref = "16306"   (n9,r0)
/local/domain/9/device/vif/0/rx-ring-ref = "16104"   (n9,r0)
/local/domain/9/device/vif/0/event-channel = "10"   (n9,r0)
/local/domain/9/device/vif/0/request-rx-copy = "1"   (n9,r0)
/local/domain/9/device/vif/0/feature-rx-notify = "1"   (n9,r0)
/local/domain/9/device/vif/0/feature-no-csum-offload = "0"   (n9,r0)
/local/domain/9/device/vif/0/feature-sg = "1"   (n9,r0)
/local/domain/9/device/vif/0/feature-gso-tcpv4 = "1"   (n9,r0)
/local/domain/9/control = ""   (n0,r9)
/local/domain/9/control/shutdown = ""   (n9)
/local/domain/9/control/platform-feature-multiprocessor-suspend = "1"   (n0,r9)
/local/domain/9/control/platform-feature-xs_reset_watches = "1"   (n0,r9)
/local/domain/9/hvmloader = ""   (n0,r9)
/local/domain/9/hvmloader/generation-id-address = "0x0"   (n9)
/local/domain/9/hvmloader/bios = "seabios"   (n0,r9)
/local/domain/9/data = ""   (n9)
/local/domain/9/domid = "9"   (n0,r9)
/local/domain/9/store = ""   (n0,r9)
/local/domain/9/store/port = "4"   (n0,r9)
/local/domain/9/store/ring-ref = "1044476"   (n0,r9)
/local/domain/9/platform = ""   (n0,r9)
/local/domain/9/platform/acpi = "1"   (n0,r9)
/local/domain/9/platform/acpi_s3 = "1"   (n0,r9)
/local/domain/9/platform/acpi_s4 = "1"   (n0,r9)
/local/domain/9/console = ""   (n9,r0)
/local/domain/9/console/backend = "/local/domain/0/backend/console/9/0"   (n9,r0)
/local/domain/9/console/backend-id = "0"   (n9,r0)
/local/domain/9/console/limit = "1048576"   (n9,r0)
/local/domain/9/console/type = "xenconsoled"   (n9,r0)
/local/domain/9/console/output = "pty"   (n9,r0)
/local/domain/9/console/port = "5"   (n9,r0)
/local/domain/9/console/ring-ref = "1044479"   (n9,r0)
/local/domain/9/console/tty = "/dev/pts/1"   (n9,r0)
/local/domain/9/image = ""   (n0,r9)
/local/domain/9/image/device-model-pid = "21535"   (n0,r9)
/vm = ""   (n0)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5 = ""   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/uuid = "4861a08b-16f8-4773-b6e9-50b2172f5cf5"   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/name = "W7"   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/rtc = ""   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/rtc/timeoffset = ""   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/image = ""   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/image/ostype = "hvm"   (n0,r9)
/vm/4861a08b-16f8-4773-b6e9-50b2172f5cf5/start_time = "1366966289.29"   (n0,r9)
/libxl = ""   (n0)
/libxl/9 = ""   (n0)
/libxl/9/dm-version = "qemu_xen"   (n0)
------------------------------------------------------------------------------------------
vif devices before save
vif9.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:946 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1754 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:132747 (129.6 KiB)  TX bytes:1897627 (1.8 MiB)

vif9.0-emu Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:452 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:49926 (48.7 KiB)
------------------------------------------------------------------------------------------
xl -vvv save W7 /mnt/vm/save/W7
Saving to /mnt/vm/save/W7 new xl format (info 0x0/0x0/3304)
libxl: debug: libxl.c:763:libxl_domain_suspend: ao 0x8958d0: create: how=(nil) callback=(nil) poller=0x895840
libxl: debug: libxl_dom.c:1208:libxl__toolstack_save: domain=9 toolstack data size=49
libxl: debug: libxl.c:785:libxl_domain_suspend: ao 0x8958d0: inprogress: poller=0x895840, flags=i
libxl-save-helper: debug: starting save: Success
xc: detail: xc_domain_save: starting save of domid 9
libxl: debug: libxl_dom.c:1016:libxl__domain_suspend_common_callback: issuing PVHVM suspend request via event channel
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-9
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "stop",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: event
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-9
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "xen-save-devices-state",
    "id": 2,
    "arguments": {
        "filename": "/var/lib/xen/qemu-save.9"
    }
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
xc: debug: outbuf_write: 4194304 > 90092@16687124
xc: debug: outbuf_write: 4194304 > 4169716@12607500
xc: debug: outbuf_write: 4194304 > 4169716@12607500
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                   
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 1302528 > 1282036@15495180                    
xc: debug: outbuf_write: 368640 > 278512@16498704                      
xc: debug: outbuf_write: 2367488 > 1232880@15544336                    
xc: debug: outbuf_write: 4194304 > 1798128@14979088                    
xc: debug: outbuf_write: 4194304 > 4173812@12603404                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 491504@16285712                     
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: debug: outbuf_write: 4194304 > 4169716@12607500                    
xc: detail: type fail: page 184 mfn 0007e0b8                           
xc: detail: type fail: page 185 mfn 0007e0b9                           
xc: detail: type fail: page 186 mfn 0007e0ba                           
xc: detail: type fail: page 187 mfn 0007e0bb                           
xc: detail: type fail: page 188 mfn 0007e0bc                           
xc: detail: type fail: page 189 mfn 0007e0bd                           
xc: detail: type fail: page 190 mfn 0007e0be                           
xc: detail: type fail: page 191 mfn 0007e0bf                           
xc: detail: type fail: page 192 mfn 0007e0c0                           
xc: detail: type fail: page 193 mfn 0007e0c1                           
xc: detail: type fail: page 194 mfn 0007e0c2                           
xc: detail: type fail: page 195 mfn 0007e0c3                           
xc: detail: type fail: page 196 mfn 0007e0c4                           
xc: detail: type fail: page 197 mfn 0007e0c5                           
xc: detail: type fail: page 198 mfn 0007e0c6                           
xc: detail: type fail: page 199 mfn 0007e0c7                           
xc: detail: type fail: page 200 mfn 0007e0c8                           
xc: detail: type fail: page 201 mfn 0007e0c9                           
xc: detail: type fail: page 202 mfn 0007e0ca                           
xc: detail: type fail: page 203 mfn 0007e0cb                           
xc: detail: type fail: page 204 mfn 0007e0cc                           
xc: detail: type fail: page 205 mfn 0007e0cd                           
xc: detail: type fail: page 206 mfn 0007e0ce                           
xc: detail: type fail: page 207 mfn 0007e0cf                           
xc: detail: type fail: page 208 mfn 0007e0d0                           
xc: detail: type fail: page 209 mfn 0007e0d1                           
xc: detail: type fail: page 210 mfn 0007e0d2                           
xc: detail: type fail: page 211 mfn 0007e0d3                           
xc: detail: type fail: page 212 mfn 0007e0d4                           
xc: detail: type fail: page 213 mfn 0007e0d5                           
xc: detail: type fail: page 214 mfn 0007e0d6                           
xc: detail: type fail: page 215 mfn 0007e0d7                           
xc: debug: outbuf_write: 4194304 > 98288@16678928                      
xc: debug: outbuf_write: 4194304 > 4030448@12746768                    
xc: detail: type fail: page 0 mfn 000f1000                             
xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048575/1048575  100%
xc: detail: delta 17203ms, dom0 4%, target 0%, sent 1004Mb/s, dirtied 0Mb/s 0 pages
xc: detail: Total pages sent= 527360 (0.50x)                             
xc: detail: (of which 0 were fixups)                                     
xc: detail: All memory is saved                                          
xc: detail: Save exit of domid 9 with rc=0                               
libxl-save-helper: debug: complete r=0: Success                          
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-9
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp     
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "stop",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-9
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp     
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{     
    "execute": "xen-save-devices-state",
    "id": 2,
    "arguments": {
        "filename": "/var/lib/xen/qemu-save.9"
    }
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return  
libxl: debug: libxl_dom.c:1439:libxl__domain_save_device_model: qemu save file /var/lib/xen/qemu-save.9 is 14578 bytes
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x8958d0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x8958d0: destroy
libxl: debug: libxl.c:1251:libxl_domain_destroy: ao 0x8958d0: create: how=(nil) callback=(nil) poller=0x895840
libxl: debug: libxl_dm.c:1318:libxl__destroy_device_model: Device Model signaled
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x8977e8 wpath=/local/domain/0/backend/vbd/9/768/state token=3/0: register slotnum=3
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x89b118 wpath=/local/domain/0/backend/vbd/9/832/state token=2/1: register slotnum=2
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x89b3b8 wpath=/local/domain/0/backend/vif/9/0/state token=1/2: register slotnum=1
libxl: debug: libxl.c:1260:libxl_domain_destroy: ao 0x8958d0: inprogress: poller=0x895840, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x8977e8 wpath=/local/domain/0/backend/vbd/9/768/state token=3/0: event epath=/local/domain/0/backend/vbd/9/768/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/9/768/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x8977e8 wpath=/local/domain/0/backend/vbd/9/768/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x8977e8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/9/768/state token=3/0: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x89b118 wpath=/local/domain/0/backend/vbd/9/832/state token=2/1: event epath=/local/domain/0/backend/vbd/9/832/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/9/832/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x89b118 wpath=/local/domain/0/backend/vbd/9/832/state token=2/1: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x89b118: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block remove
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/9/832/state token=2/1: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x89b3b8 wpath=/local/domain/0/backend/vif/9/0/state token=1/2: event epath=/local/domain/0/backend/vif/9/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/9/0/state wanted state 6 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x89b3b8 wpath=/local/domain/0/backend/vif/9/0/state token=1/2: deregister slotnum=1
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x89b3b8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch offline
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vif/9/0/state token=1/2: empty slot
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch remove
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x8958d0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x8958d0: destroy
xc: debug: hypercall buffer: total allocations:190 total releases:190    
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2 
xc: debug: hypercall buffer: cache current size:2                        
xc: debug: hypercall buffer: cache hits:187 misses:2 toobig:1
------------------------------------------------------------------------------------------
xl -vvv restore /mnt/vm/save/W7
...
xc: detail: Mapping superpage (512) pfn 7d000, mfn 7d000
xc: detail: Mapping superpage (512) pfn 7d200, mfn 7d200
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7d400, mfn 7d400
xc: detail: Mapping superpage (512) pfn 7d600, mfn 7d600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7d800, mfn 7d800
xc: detail: Mapping superpage (512) pfn 7da00, mfn 7da00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7dc00, mfn 7dc00
xc: detail: Mapping superpage (512) pfn 7de00, mfn 7de00
xc: debug: batch 1024                           
xc: detail: Falling back 184 pages pfn 7e000    
xc: detail: Mapping superpage (512) pfn 7e200, mfn 7e200
xc: detail: Mapping order 0,  480; first pfn 7e000
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7e400, mfn 7e400
xc: detail: Mapping superpage (512) pfn 7e600, mfn 7e600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7e800, mfn 7e800
xc: detail: Mapping superpage (512) pfn 7ea00, mfn 7ea00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn 7ec00, mfn 7ec00
xc: detail: Mapping superpage (512) pfn 7ee00, mfn 7ee00
xc: debug: batch 1024                           
xc: detail: Falling back 32 pages pfn 80000     
xc: detail: Mapping order 0,  32; first pfn 80000
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0000, mfn f0000
xc: detail: Mapping superpage (512) pfn f0200, mfn f0200
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0400, mfn f0400
xc: detail: Mapping superpage (512) pfn f0600, mfn f0600
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0800, mfn f0800
xc: detail: Mapping superpage (512) pfn f0a00, mfn f0a00
xc: debug: batch 1024                           
xc: detail: Mapping superpage (512) pfn f0c00, mfn f0c00
xc: detail: Mapping superpage (512) pfn f0e00, mfn f0e00
xc: debug: batch 1024                           
xc: detail: Falling back 11 pages pfn fc000     
xc: detail: Mapping order 0,  11; first pfn fc000
xc: debug: batch 1024                           
xc: detail: Mapping order 0,  8; first pfn feff8
xc: debug: batch 0                              
xc: debug: Use new firmware ioport from the checkpoint
libxl: debug: libxl_dom.c:681:libxl__toolstack_restore: domain=10 toolstack data size=49
xc: detail: Writing 14578 bytes of QEMU data    
xc: detail: Restore exit of domid 10 with rc=0  
libxl-save-helper: debug: complete r=0: Success 
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=tap
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xe76c48 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: register slotnum=3
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=tap
libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=tap
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xe77de8 wpath=/local/domain/0/backend/vbd/10/832/state token=2/1: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe76c48 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: event epath=/local/domain/0/backend/vbd/10/768/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/10/768/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xe76c48 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xe76c48: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/10/768/state token=3/0: empty slot
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe77de8 wpath=/local/domain/0/backend/vbd/10/832/state token=2/1: event epath=/local/domain/0/backend/vbd/10/832/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/10/832/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xe77de8 wpath=/local/domain/0/backend/vbd/10/832/state token=2/1: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xe77de8: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/10/832/state token=2/1: empty slot
libxl: debug: libxl_dm.c:1215:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   /usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -xen-domid
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   10
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-10,server,nowait
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -mon
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -name
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   W7
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -global
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   isa-fdc.driveA=
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -spice
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   port=6002,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   virtio-serial
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -chardev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   spicevmc,id=vdagent,name=vdagent
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   virtserialport,chardev=vdagent,name=com.redhat.spice.0
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -vga
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   std
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -boot
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   order=dc
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -soundhw
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   hda
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -smp
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   2,maxcpus=2
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -device
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:1e:ab:7d
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -netdev
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif10.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -incoming
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   fd:14
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -M
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   xenfv
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -m
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   2032
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -drive
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   file=/mnt/vm/disks/W7.disk1.xm,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   -drive
libxl: debug: libxl_dm.c:1217:libxl__spawn_local_dm:   file=/mnt/vm/iso/XPSP3PRO.iso,if=ide,index=1,media=cdrom,format=raw,cache=writeback,id=ide-832
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xe74b60 wpath=/local/domain/0/device-model/10/state token=2/2: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe74b60 wpath=/local/domain/0/device-model/10/state token=2/2: event epath=/local/domain/0/device-model/10/state
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe74b60 wpath=/local/domain/0/device-model/10/state token=2/2: event epath=/local/domain/0/device-model/10/state
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xe74b60 wpath=/local/domain/0/device-model/10/state token=2/2: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xe74b60: deregister unregistered
libxl: debug: libxl_qmp.c:695:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-10
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "query-chardev",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: '{
    "execute": "query-vnc",
    "id": 3
}
'
libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xe79208 wpath=/local/domain/0/backend/vif/10/0/state token=2/3: register slotnum=2
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe79208 wpath=/local/domain/0/backend/vif/10/0/state token=2/3: event epath=/local/domain/0/backend/vif/10/0/state
libxl: debug: libxl_event.c:647:devstate_watch_callback: backend /local/domain/0/backend/vif/10/0/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xe79208 wpath=/local/domain/0/backend/vif/10/0/state token=2/3: event epath=/local/domain/0/backend/vif/10/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/10/0/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xe79208 wpath=/local/domain/0/backend/vif/10/0/state token=2/3: deregister slotnum=2
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xe79208: deregister unregistered
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch online
libxl: debug: libxl_device.c:921:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-openvswitch add
libxl: debug: libxl_event.c:1737:libxl__ao_progress_report: ao 0xe745a0: progress report: ignored
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0xe745a0: complete, rc=0
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0xe745a0: destroy
Daemon running with PID 22255
xc: debug: hypercall buffer: total allocations:228 total releases:228
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:220 misses:4 toobig:4
------------------------------------------------------------------------------------------
vif after restore
vif10.0   Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:1067 (1.0 KiB)  TX bytes:10716 (10.4 KiB)

vif10.0-emu Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:3 overruns:0 frame:0
          TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:180 (180.0 B)  TX bytes:11631 (11.3 KiB)
------------------------------------------------------------------------------------------
xenstore-ls -fp #after restore
/tool = ""   (n0)
/tool/xenstored = ""   (n0)
/local = ""   (n0)
/local/domain = ""   (n0)
/local/domain/0 = ""   (n0)
/local/domain/0/name = "Domain-0"   (n0)
/local/domain/0/device-model = ""   (n0)
/local/domain/0/device-model/0 = ""   (n0)
/local/domain/0/device-model/0/state = "running"   (n0)
/local/domain/0/device-model/10 = ""   (n0)
/local/domain/0/device-model/10/physmap = ""   (n0)
/local/domain/0/device-model/10/physmap/7f000000 = ""   (n0)
/local/domain/0/device-model/10/physmap/7f000000/start_addr = "f0000000"   (n0)
/local/domain/0/device-model/10/physmap/7f000000/size = "1000000"   (n0)
/local/domain/0/device-model/10/physmap/7f000000/name = "vga.vram"   (n0)
/local/domain/0/device-model/10/state = "running"   (n0)
/local/domain/0/libxl = ""   (n0)
/local/domain/0/libxl/disable_udev = "1"   (n0)
/local/domain/0/backend = ""   (n0)
/local/domain/0/backend/vbd = ""   (n0)
/local/domain/0/backend/vbd/10 = ""   (n0)
/local/domain/0/backend/vbd/10/768 = ""   (n0,r10)
/local/domain/0/backend/vbd/10/768/frontend = "/local/domain/10/device/vbd/768"   (n0,r10)
/local/domain/0/backend/vbd/10/768/tapdisk-params = "aio:/mnt/vm/disks/W7.disk1.xm"   (n0,r10)
/local/domain/0/backend/vbd/10/768/params = "/dev/xen/blktap-2/tapdev0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/script = "/etc/xen/scripts/block"   (n0,r10)
/local/domain/0/backend/vbd/10/768/physical-device = "fd:0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/frontend-id = "10"   (n0,r10)
/local/domain/0/backend/vbd/10/768/online = "1"   (n0,r10)
/local/domain/0/backend/vbd/10/768/removable = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/bootable = "1"   (n0,r10)
/local/domain/0/backend/vbd/10/768/state = "4"   (n0,r10)
/local/domain/0/backend/vbd/10/768/dev = "hda"   (n0,r10)
/local/domain/0/backend/vbd/10/768/type = "phy"   (n0,r10)
/local/domain/0/backend/vbd/10/768/mode = "w"   (n0,r10)
/local/domain/0/backend/vbd/10/768/device-type = "disk"   (n0,r10)
/local/domain/0/backend/vbd/10/768/feature-flush-cache = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/feature-discard = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/feature-barrier = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/sectors = "102400000"   (n0,r10)
/local/domain/0/backend/vbd/10/768/info = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/768/sector-size = "512"   (n0,r10)
/local/domain/0/backend/vbd/10/832 = ""   (n0,r10)
/local/domain/0/backend/vbd/10/832/frontend = "/local/domain/10/device/vbd/832"   (n0,r10)
/local/domain/0/backend/vbd/10/832/tapdisk-params = "aio:/mnt/vm/iso/XPSP3PRO.iso"   (n0,r10)
/local/domain/0/backend/vbd/10/832/params = "/dev/xen/blktap-2/tapdev1"   (n0,r10)
/local/domain/0/backend/vbd/10/832/script = "/etc/xen/scripts/block"   (n0,r10)
/local/domain/0/backend/vbd/10/832/physical-device = "fd:1"   (n0,r10)
/local/domain/0/backend/vbd/10/832/frontend-id = "10"   (n0,r10)
/local/domain/0/backend/vbd/10/832/online = "1"   (n0,r10)
/local/domain/0/backend/vbd/10/832/removable = "1"   (n0,r10)
/local/domain/0/backend/vbd/10/832/bootable = "1"   (n0,r10)
/local/domain/0/backend/vbd/10/832/state = "4"   (n0,r10)
/local/domain/0/backend/vbd/10/832/dev = "hdb"   (n0,r10)
/local/domain/0/backend/vbd/10/832/type = "phy"   (n0,r10)
/local/domain/0/backend/vbd/10/832/mode = "r"   (n0,r10)
/local/domain/0/backend/vbd/10/832/device-type = "cdrom"   (n0,r10)
/local/domain/0/backend/vbd/10/832/feature-flush-cache = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/832/feature-discard = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/832/feature-barrier = "0"   (n0,r10)
/local/domain/0/backend/vbd/10/832/sectors = "1201172"   (n0,r10)
/local/domain/0/backend/vbd/10/832/info = "5"   (n0,r10)
/local/domain/0/backend/vbd/10/832/sector-size = "512"   (n0,r10)
/local/domain/0/backend/console = ""   (n0)
/local/domain/0/backend/console/10 = ""   (n0)
/local/domain/0/backend/console/10/0 = ""   (n0,r10)
/local/domain/0/backend/console/10/0/frontend = "/local/domain/10/console"   (n0,r10)
/local/domain/0/backend/console/10/0/frontend-id = "10"   (n0,r10)
/local/domain/0/backend/console/10/0/online = "1"   (n0,r10)
/local/domain/0/backend/console/10/0/state = "1"   (n0,r10)
/local/domain/0/backend/console/10/0/domain = "W7"   (n0,r10)
/local/domain/0/backend/console/10/0/protocol = "vt100"   (n0,r10)
/local/domain/0/backend/vkbd = ""   (n0)
/local/domain/0/backend/vkbd/10 = ""   (n0)
/local/domain/0/backend/vkbd/10/0 = ""   (n0,r10)
/local/domain/0/backend/vkbd/10/0/frontend = "/local/domain/10/device/vkbd/0"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/frontend-id = "10"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/online = "1"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/state = "2"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/domain = "W7"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/feature-abs-pointer = "1"   (n0,r10)
/local/domain/0/backend/vkbd/10/0/hotplug-status = "connected"   (n0,r10)
/local/domain/0/backend/vif = ""   (n0)
/local/domain/0/backend/vif/10 = ""   (n0)
/local/domain/0/backend/vif/10/0 = ""   (n0,r10)
/local/domain/0/backend/vif/10/0/frontend = "/local/domain/10/device/vif/0"   (n0,r10)
/local/domain/0/backend/vif/10/0/frontend-id = "10"   (n0,r10)
/local/domain/0/backend/vif/10/0/online = "1"   (n0,r10)
/local/domain/0/backend/vif/10/0/state = "4"   (n0,r10)
/local/domain/0/backend/vif/10/0/script = "/etc/xen/scripts/vif-openvswitch"   (n0,r10)
/local/domain/0/backend/vif/10/0/mac = "00:16:3e:1e:ab:7d"   (n0,r10)
/local/domain/0/backend/vif/10/0/bridge = "xenbr0"   (n0,r10)
/local/domain/0/backend/vif/10/0/handle = "0"   (n0,r10)
/local/domain/0/backend/vif/10/0/type = "vif_ioemu"   (n0,r10)
/local/domain/0/backend/vif/10/0/feature-sg = "1"   (n0,r10)
/local/domain/0/backend/vif/10/0/feature-gso-tcpv4 = "1"   (n0,r10)
/local/domain/0/backend/vif/10/0/feature-rx-copy = "1"   (n0,r10)
/local/domain/0/backend/vif/10/0/feature-rx-flip = "0"   (n0,r10)
/local/domain/0/backend/vif/10/0/hotplug-status = "connected"   (n0,r10)
/local/domain/10 = ""   (n0,r10)
/local/domain/10/vm = "/vm/aaee7145-c669-42dd-a72a-fb43c662db93"   (n0,r10)
/local/domain/10/name = "W7"   (n0,r10)
/local/domain/10/cpu = ""   (n0,r10)
/local/domain/10/cpu/0 = ""   (n0,r10)
/local/domain/10/cpu/0/availability = "online"   (n0,r10)
/local/domain/10/cpu/1 = ""   (n0,r10)
/local/domain/10/cpu/1/availability = "online"   (n0,r10)
/local/domain/10/memory = ""   (n0,r10)
/local/domain/10/memory/static-max = "2097152"   (n0,r10)
/local/domain/10/memory/target = "2080768"   (n0,r10)
/local/domain/10/memory/videoram = "16384"   (n0,r10)
/local/domain/10/device = ""   (n0,r10)
/local/domain/10/device/suspend = ""   (n0,r10)
/local/domain/10/device/suspend/event-channel = "7"   (n10)
/local/domain/10/device/vbd = ""   (n0,r10)
/local/domain/10/device/vbd/768 = ""   (n10,r0)
/local/domain/10/device/vbd/768/backend = "/local/domain/0/backend/vbd/10/768"   (n10,r0)
/local/domain/10/device/vbd/768/backend-id = "0"   (n10,r0)
/local/domain/10/device/vbd/768/state = "4"   (n10,r0)
/local/domain/10/device/vbd/768/virtual-device = "768"   (n10,r0)
/local/domain/10/device/vbd/768/device-type = "disk"   (n10,r0)
/local/domain/10/device/vbd/768/ring-ref = "16104"   (n10,r0)
/local/domain/10/device/vbd/768/event-channel = "8"   (n10,r0)
/local/domain/10/device/vbd/832 = ""   (n10,r0)
/local/domain/10/device/vbd/832/backend = "/local/domain/0/backend/vbd/10/832"   (n10,r0)
/local/domain/10/device/vbd/832/backend-id = "0"   (n10,r0)
/local/domain/10/device/vbd/832/state = "4"   (n10,r0)
/local/domain/10/device/vbd/832/virtual-device = "832"   (n10,r0)
/local/domain/10/device/vbd/832/device-type = "cdrom"   (n10,r0)
/local/domain/10/device/vbd/832/ring-ref = "16306"   (n10,r0)
/local/domain/10/device/vbd/832/event-channel = "9"   (n10,r0)
/local/domain/10/device/vkbd = ""   (n0,r10)
/local/domain/10/device/vkbd/0 = ""   (n10,r0)
/local/domain/10/device/vkbd/0/backend = "/local/domain/0/backend/vkbd/10/0"   (n10,r0)
/local/domain/10/device/vkbd/0/backend-id = "0"   (n10,r0)
/local/domain/10/device/vkbd/0/state = "1"   (n10,r0)
/local/domain/10/device/vif = ""   (n0,r10)
/local/domain/10/device/vif/0 = ""   (n10,r0)
/local/domain/10/device/vif/0/backend = "/local/domain/0/backend/vif/10/0"   (n10,r0)
/local/domain/10/device/vif/0/backend-id = "0"   (n10,r0)
/local/domain/10/device/vif/0/state = "4"   (n10,r0)
/local/domain/10/device/vif/0/handle = "0"   (n10,r0)
/local/domain/10/device/vif/0/mac = "00:16:3e:1e:ab:7d"   (n10,r0)
/local/domain/10/device/vif/0/tx-ring-ref = "16382"   (n10,r0)
/local/domain/10/device/vif/0/rx-ring-ref = "16383"   (n10,r0)
/local/domain/10/device/vif/0/event-channel = "10"   (n10,r0)
/local/domain/10/device/vif/0/request-rx-copy = "1"   (n10,r0)
/local/domain/10/device/vif/0/feature-rx-notify = "1"   (n10,r0)
/local/domain/10/device/vif/0/feature-no-csum-offload = "0"   (n10,r0)
/local/domain/10/device/vif/0/feature-sg = "1"   (n10,r0)
/local/domain/10/device/vif/0/feature-gso-tcpv4 = "1"   (n10,r0)
/local/domain/10/control = ""   (n0,r10)
/local/domain/10/control/shutdown = ""   (n10)
/local/domain/10/control/platform-feature-multiprocessor-suspend = "1"   (n0,r10)
/local/domain/10/control/platform-feature-xs_reset_watches = "1"   (n0,r10)
/local/domain/10/hvmloader = ""   (n0,r10)
/local/domain/10/hvmloader/generation-id-address = "0x0"   (n10)
/local/domain/10/hvmloader/bios = "seabios"   (n0,r10)
/local/domain/10/data = ""   (n10)
/local/domain/10/domid = "10"   (n0,r10)
/local/domain/10/store = ""   (n0,r10)
/local/domain/10/store/port = "4"   (n0,r10)
/local/domain/10/store/ring-ref = "1044476"   (n0,r10)
/local/domain/10/console = ""   (n10,r0)
/local/domain/10/console/backend = "/local/domain/0/backend/console/10/0"   (n10,r0)
/local/domain/10/console/backend-id = "0"   (n10,r0)
/local/domain/10/console/limit = "1048576"   (n10,r0)
/local/domain/10/console/type = "xenconsoled"   (n10,r0)
/local/domain/10/console/output = "pty"   (n10,r0)
/local/domain/10/console/port = "5"   (n10,r0)
/local/domain/10/console/ring-ref = "1044479"   (n10,r0)
/local/domain/10/console/tty = "/dev/pts/1"   (n10,r0)
/local/domain/10/image = ""   (n0,r10)
/local/domain/10/image/device-model-pid = "22127"   (n0,r10)
/vm = ""   (n0)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93 = ""   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/uuid = "aaee7145-c669-42dd-a72a-fb43c662db93"   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/name = "W7"   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/rtc = ""   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/rtc/timeoffset = ""   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/image = ""   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/image/ostype = "hvm"   (n0,r10)
/vm/aaee7145-c669-42dd-a72a-fb43c662db93/start_time = "1366966827.04"   (n0,r10)
/libxl = ""   (n0)
/libxl/10 = ""   (n0)
/libxl/10/dm-version = "qemu_xen"   (n0)

[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4510 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2013-04-26  9:24   ` Fabio Fantoni
@ 2013-04-26  9:36     ` Ian Campbell
  2013-04-26 10:30       ` Fabio Fantoni
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2013-04-26  9:36 UTC (permalink / raw)
  To: fantonifabio@tiscali.it
  Cc: George Dunlap, James Harper, xen-devel, Stefano Stabellini

On Fri, 2013-04-26 at 10:24 +0100, Fabio Fantoni wrote:
> Il 24/04/2013 17:36, Ian Campbell ha scritto:
> > On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
> >> I send new mail about this bug with details as required by George Dunlap.
> >> Dom0 is Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64
> >> version 3.2.41-2, package blktap-dkms and all dependency packages for
> >> xen, spice and usb redirection.
> >> xen.git (in this build commit is 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
> >>
> >> Other details about dom0 installation see here:
> >> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
> >>
> >> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
> >>
> >> After restore it sees network but is not working, nor lan neither wan.
> >> Tried with both dhcp and static ip, try also e1000 network card, tried
> >> also qemu 1.4.
> > Is the vif device present and on the bridge in dom0? What about the emu
> > device?
> >
> > Can you post the output of "xenstore-ls -fp" please.
> >
> > I notice references to openvswitch in your logs -- which script are you
> > using, the one I recently posted or something else?
> >
> > Ian.
> >
> >
> Thanks for reply, the vif and the vif -emu are present, bridge also and 
> is working.

Are the both the vif* present on the bridge? What does "ovs-vsctl show"
report?

> On attachment logs of save, restore, copy of vif and xenstore command 
> you told me, both before and after save/restore.

Thanks, I can see that the front and backend devices are connected ok
and appear to be happy and the hotplug scripts were successful.

However I did notice that the device MAC address seems to have changed!
I can believe this could confuse things...

Does this issue go away if you specify
        vif=['bridge=xenbr0,mac=00:16:3e:42:ae:8f']
in your configuration?

Ian.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2013-04-26  9:36     ` Ian Campbell
@ 2013-04-26 10:30       ` Fabio Fantoni
  2014-11-14  9:11         ` Fabio Fantoni
  0 siblings, 1 reply; 8+ messages in thread
From: Fabio Fantoni @ 2013-04-26 10:30 UTC (permalink / raw)
  To: Ian Campbell; +Cc: George Dunlap, James Harper, xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2240 bytes --]

Il 26/04/2013 11:36, Ian Campbell ha scritto:
> On Fri, 2013-04-26 at 10:24 +0100, Fabio Fantoni wrote:
>> Il 24/04/2013 17:36, Ian Campbell ha scritto:
>>> On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
>>>> I send new mail about this bug with details as required by George Dunlap.
>>>> Dom0 is Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64
>>>> version 3.2.41-2, package blktap-dkms and all dependency packages for
>>>> xen, spice and usb redirection.
>>>> xen.git (in this build commit is 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
>>>>
>>>> Other details about dom0 installation see here:
>>>> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
>>>>
>>>> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
>>>>
>>>> After restore it sees network but is not working, nor lan neither wan.
>>>> Tried with both dhcp and static ip, try also e1000 network card, tried
>>>> also qemu 1.4.
>>> Is the vif device present and on the bridge in dom0? What about the emu
>>> device?
>>>
>>> Can you post the output of "xenstore-ls -fp" please.
>>>
>>> I notice references to openvswitch in your logs -- which script are you
>>> using, the one I recently posted or something else?
>>>
>>> Ian.
>>>
>>>
>> Thanks for reply, the vif and the vif -emu are present, bridge also and
>> is working.
> Are the both the vif* present on the bridge? What does "ovs-vsctl show"
> report?
>
>> On attachment logs of save, restore, copy of vif and xenstore command
>> you told me, both before and after save/restore.
> Thanks, I can see that the front and backend devices are connected ok
> and appear to be happy and the hotplug scripts were successful.
>
> However I did notice that the device MAC address seems to have changed!
> I can believe this could confuse things...
>
> Does this issue go away if you specify
>          vif=['bridge=xenbr0,mac=00:16:3e:42:ae:8f']
> in your configuration?
>
> Ian.
>
Thanks, fixed mac solve the problem.
Is possible solve for have network working after restore without mac on 
xl configuration file also on qemu upstream?
The last test was without openvswitch, I must redo with it and post 
"ovs-vsctl show" result?


[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4510 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2013-04-26 10:30       ` Fabio Fantoni
@ 2014-11-14  9:11         ` Fabio Fantoni
  2014-11-17 11:46           ` George Dunlap
  2014-11-17 12:26           ` Wei Liu
  0 siblings, 2 replies; 8+ messages in thread
From: Fabio Fantoni @ 2014-11-14  9:11 UTC (permalink / raw)
  To: Ian Campbell; +Cc: George Dunlap, James Harper, xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2530 bytes --]

Il 26/04/2013 12:30, Fabio Fantoni ha scritto:
> Il 26/04/2013 11:36, Ian Campbell ha scritto:
>> On Fri, 2013-04-26 at 10:24 +0100, Fabio Fantoni wrote:
>>> Il 24/04/2013 17:36, Ian Campbell ha scritto:
>>>> On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
>>>>> I send new mail about this bug with details as required by George
>>>>> Dunlap.
>>>>> Dom0 is Wheezy 64 bit with kernel from package
>>>>> linux-image-3.2.0-4-amd64
>>>>> version 3.2.41-2, package blktap-dkms and all dependency packages for
>>>>> xen, spice and usb redirection.
>>>>> xen.git (in this build commit is
>>>>> 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
>>>>>
>>>>> Other details about dom0 installation see here:
>>>>> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
>>>>>
>>>>> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
>>>>>
>>>>> After restore it sees network but is not working, nor lan neither
>>>>> wan.
>>>>> Tried with both dhcp and static ip, try also e1000 network card,
>>>>> tried
>>>>> also qemu 1.4.
>>>> Is the vif device present and on the bridge in dom0? What about the
>>>> emu
>>>> device?
>>>>
>>>> Can you post the output of "xenstore-ls -fp" please.
>>>>
>>>> I notice references to openvswitch in your logs -- which script are
>>>> you
>>>> using, the one I recently posted or something else?
>>>>
>>>> Ian.
>>>>
>>>>
>>> Thanks for reply, the vif and the vif -emu are present, bridge also and
>>> is working.
>> Are the both the vif* present on the bridge? What does "ovs-vsctl show"
>> report?
>>
>>> On attachment logs of save, restore, copy of vif and xenstore command
>>> you told me, both before and after save/restore.
>> Thanks, I can see that the front and backend devices are connected ok
>> and appear to be happy and the hotplug scripts were successful.
>>
>> However I did notice that the device MAC address seems to have changed!
>> I can believe this could confuse things...
>>
>> Does this issue go away if you specify
>>          vif=['bridge=xenbr0,mac=00:16:3e:42:ae:8f']
>> in your configuration?
>>
>> Ian.
>>
> Thanks, fixed mac solve the problem.
> Is possible solve for have network working after restore without mac
> on xl configuration file also on qemu upstream?
> The last test was without openvswitch, I must redo with it and post
> "ovs-vsctl show" result?
>

This problem is still present and reported also by other users:
http://lists.xen.org/archives/html/xen-devel/2014-11/msg01267.html


[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2014-11-14  9:11         ` Fabio Fantoni
@ 2014-11-17 11:46           ` George Dunlap
  2014-11-17 12:26           ` Wei Liu
  1 sibling, 0 replies; 8+ messages in thread
From: George Dunlap @ 2014-11-17 11:46 UTC (permalink / raw)
  To: fantonifabio, Ian Campbell; +Cc: James Harper, xen-devel, Stefano Stabellini

On 11/14/2014 09:11 AM, Fabio Fantoni wrote:
> Il 26/04/2013 12:30, Fabio Fantoni ha scritto:
>> Il 26/04/2013 11:36, Ian Campbell ha scritto:
>>> On Fri, 2013-04-26 at 10:24 +0100, Fabio Fantoni wrote:
>>>> Il 24/04/2013 17:36, Ian Campbell ha scritto:
>>>>> On Wed, 2013-04-24 at 15:06 +0100, Fabio Fantoni wrote:
>>>>>> I send new mail about this bug with details as required by George
>>>>>> Dunlap.
>>>>>> Dom0 is Wheezy 64 bit with kernel from package
>>>>>> linux-image-3.2.0-4-amd64
>>>>>> version 3.2.41-2, package blktap-dkms and all dependency packages for
>>>>>> xen, spice and usb redirection.
>>>>>> xen.git (in this build commit is
>>>>>> 96ef6e88359910738905ac2e1969dc05d7d7e7dc)
>>>>>>
>>>>>> Other details about dom0 installation see here:
>>>>>> http://lists.xen.org/archives/html/xen-devel/2013-04/msg02290.html
>>>>>>
>>>>>> DomU is Windows 7 pro 64 bit with gplpv build 372 debug.
>>>>>>
>>>>>> After restore it sees network but is not working, nor lan neither
>>>>>> wan.
>>>>>> Tried with both dhcp and static ip, try also e1000 network card,
>>>>>> tried
>>>>>> also qemu 1.4.
>>>>> Is the vif device present and on the bridge in dom0? What about the
>>>>> emu
>>>>> device?
>>>>>
>>>>> Can you post the output of "xenstore-ls -fp" please.
>>>>>
>>>>> I notice references to openvswitch in your logs -- which script are
>>>>> you
>>>>> using, the one I recently posted or something else?
>>>>>
>>>>> Ian.
>>>>>
>>>>>
>>>> Thanks for reply, the vif and the vif -emu are present, bridge also and
>>>> is working.
>>> Are the both the vif* present on the bridge? What does "ovs-vsctl show"
>>> report?
>>>
>>>> On attachment logs of save, restore, copy of vif and xenstore command
>>>> you told me, both before and after save/restore.
>>> Thanks, I can see that the front and backend devices are connected ok
>>> and appear to be happy and the hotplug scripts were successful.
>>>
>>> However I did notice that the device MAC address seems to have changed!
>>> I can believe this could confuse things...
>>>
>>> Does this issue go away if you specify
>>>           vif=['bridge=xenbr0,mac=00:16:3e:42:ae:8f']
>>> in your configuration?
>>>
>>> Ian.
>>>
>> Thanks, fixed mac solve the problem.
>> Is possible solve for have network working after restore without mac
>> on xl configuration file also on qemu upstream?
>> The last test was without openvswitch, I must redo with it and post
>> "ovs-vsctl show" result?
>>
> This problem is still present and reported also by other users:
> http://lists.xen.org/archives/html/xen-devel/2014-11/msg01267.html

The e-mail you link to there is talking about two different bits of 
functionality.  One is a vif (virtual interface), provided by qemu 
and/or netback; the other is a vf (virtual function), which is related 
to the connection to a physical device..

The question is whether the following configuration now works after 
suspend/resume:

   vif=['']

  -George

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Network not working after restore with qemu-xen windows domU and gplpv
  2014-11-14  9:11         ` Fabio Fantoni
  2014-11-17 11:46           ` George Dunlap
@ 2014-11-17 12:26           ` Wei Liu
  1 sibling, 0 replies; 8+ messages in thread
From: Wei Liu @ 2014-11-17 12:26 UTC (permalink / raw)
  To: Fabio Fantoni
  Cc: xen-devel, wei.liu2, Ian Campbell, Stefano Stabellini,
	George Dunlap, James Harper

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-11-17 12:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 14:06 Network not working after restore with qemu-xen windows domU and gplpv Fabio Fantoni
2013-04-24 15:36 ` Ian Campbell
2013-04-26  9:24   ` Fabio Fantoni
2013-04-26  9:36     ` Ian Campbell
2013-04-26 10:30       ` Fabio Fantoni
2014-11-14  9:11         ` Fabio Fantoni
2014-11-17 11:46           ` George Dunlap
2014-11-17 12:26           ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.