[libvirt-users] Tunnelled migrate Windows7 VMs halted

Eric Blake eblake at redhat.com
Wed Apr 26 13:51:39 UTC 2017


[moderator note: I'm forwarding a stripped down version of the original
mail which was rejected in the moderator queue. I stripped the 3.3
megabyte .tar.bz2 of the log file attachment, which is inappropriate for
a technical list. Either trim the log to the relevant portion, or host
the log externally and have your list email merely give a URL of the
externally-hosted file]

> ForwardedMessage.eml
> 
> Subject:
> Tunnelled migrate Windows7 VMs halted
> From:
> 邓林文 <dlworld0 at 163.com>
> Date:
> 04/25/2017 11:12 PM
> 
> To:
> libvirt-users at redhat.com
> 
> 
> 
> I migrated a Windows 7 VM with libvirtd tunnelled, the VM halted on the target although the status is running. 
> 
> 
>     [root at test15 ~]# virsh migrate --live --p2p --tunnelled i-000000ac qemu+tcp://192.168.65.13/system
> 
> 
> But when migrated with qemu native mode, the VM runs well.
> 
> 
>     [root at test15 ~]# virsh migrate --live --p2p i-000000ac qemu+tcp://192.168.65.13/system
> 
> 
> System Info:
>     Release: Centos 7.2
>     Kernel: 3.10.0-327.28.3.el7.x86_64
>     Qemu: qemu-kvm-rhev-2.3.0
>     Libvirt: libvirt-1.2.17/libvirt-2.0.0
>     CPU: AMD Opteron(TM) Processor 6212
> 
> 
> As CPUFrequency may lead windows migrate halt, I have disabled Power Management. 
> 
> 
> Does anyone have some sugestions?
> 
> 
> Thanks,
> Linwen Deng
> 
> 
> vm.xml
> 
> 
> <domain type='kvm' id='8'>
>   <name>i-000000ac</name>
>   <uuid>53f0710f-b25e-4f47-a7cf-c15a9409fdc3</uuid>
>   <metadata>
>     <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
>       <nova:package version="12.0.0-4"/>
>       <nova:name>c7-vm15-test15-7</nova:name>
>       <nova:creationTime>2017-04-14 06:48:54</nova:creationTime>
>       <nova:flavor name="oeflavor-4-2048-20">
>         <nova:memory>2048</nova:memory>
>         <nova:disk>20</nova:disk>
>         <nova:swap>0</nova:swap>
>         <nova:ephemeral>0</nova:ephemeral>
>         <nova:vcpus>4</nova:vcpus>
>       </nova:flavor>
>       <nova:owner>
>         <nova:user uuid="b0f21b1d16b147ffb3f7713716cc894a">admin</nova:user>
>         <nova:project uuid="ae883f160c3c41db850d5cde8de8208b">service</nova:project>
>       </nova:owner>
>     </nova:instance>
>   </metadata>
>   <memory unit='KiB'>2097152</memory>
>   <currentMemory unit='KiB'>2097152</currentMemory>
>   <memoryBacking>
>     <hugepages>
>       <page size='2048' unit='KiB' nodeset='0'/>
>     </hugepages>
>   </memoryBacking>
>   <vcpu placement='static'>2</vcpu>
>   <cputune>
>     <shares>4096</shares>
>     <vcpupin vcpu='0' cpuset='4-7'/>
>     <vcpupin vcpu='1' cpuset='4-7'/>
>     <emulatorpin cpuset='4-7'/>
>   </cputune>
>   <resource>
>     <partition>/machine</partition>
>   </resource>
>   <sysinfo type='smbios'>
>     <system>
>       <entry name='manufacturer'>Fedora Project</entry>
>       <entry name='product'>OpenStack Nova</entry>
>       <entry name='version'>12.0.0-4</entry>
>       <entry name='serial'>95637afe-453f-42a8-b198-df673ab59c91</entry>
>       <entry name='uuid'>53f0710f-b25e-4f47-a7cf-c15a9409fdc3</entry>
>       <entry name='family'>Virtual Machine</entry>
>     </system>
>   </sysinfo>
>   <os>
>     <type arch='x86_64' machine='pc-i440fx-rhel7.2.0'>hvm</type>
>     <boot dev='cdrom'/>
>     <boot dev='hd'/>
>     <boot dev='fd'/>
>     <smbios mode='sysinfo'/>
>   </os>
>   <features>
>     <acpi/>
>     <apic/>
>   </features>
>   <cpu mode='host-model'>
>     <model fallback='allow'/>
>     <topology sockets='2' cores='1' threads='1'/>
>   </cpu>
>   <clock offset='utc'>
>     <timer name='pit' tickpolicy='delay'/>
>     <timer name='rtc' tickpolicy='catchup'/>
>     <timer name='hpet' present='no'/>
>   </clock>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>destroy</on_crash>
>   <devices>
>     <emulator>/usr/libexec/qemu-kvm</emulator>
>     <disk type='file' device='disk'>
>       <driver name='qemu' type='qcow2' cache='none'/>
>       <source file='/opt/ssd/win7.qcow2'/>
>       <backingStore type='file' index='1'>
>         <format type='raw'/>
>         <source file='/opt/ssd/_base/win7.qcow2'/>
>         <backingStore/>
>       </backingStore>
>       <target dev='vda' bus='virtio'/>
>       <serial>8164a82d-6066-46d7-8a92-8391620fc58c</serial>
>       <alias name='virtio-disk0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
>     </disk>
>     <controller type='usb' index='0' model='ich9-ehci1'>
>       <alias name='usb'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci1'>
>       <alias name='usb'/>
>       <master startport='0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci2'>
>       <alias name='usb'/>
>       <master startport='2'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci3'>
>       <alias name='usb'/>
>       <master startport='4'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
>     </controller>
>     <controller type='pci' index='0' model='pci-root'>
>       <alias name='pci.0'/>
>     </controller>
>     <controller type='virtio-serial' index='0'>
>       <alias name='virtio-serial0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
>     </controller>
>     <serial type='file'>
>       <source path='/var/lib/nova/instances/53f0710f-b25e-4f47-a7cf-c15a9409fdc3/console.log'/>
>       <target port='0'/>
>       <alias name='serial0'/>
>     </serial>
>     <serial type='pty'>
>       <source path='/dev/pts/2'/>
>       <target port='1'/>
>       <alias name='serial1'/>
>     </serial>
>     <console type='file'>
>       <source path='/var/lib/nova/instances/53f0710f-b25e-4f47-a7cf-c15a9409fdc3/console.log'/>
>       <target type='serial' port='0'/>
>       <alias name='serial0'/>
>     </console>
>     <channel type='spicevmc'>
>       <target type='virtio' name='com.redhat.spice.0' state='connected'/>
>       <alias name='channel0'/>
>       <address type='virtio-serial' controller='0' bus='0' port='1'/>
>     </channel>
>     <input type='tablet' bus='usb'>
>       <alias name='input0'/>
>     </input>
>     <input type='mouse' bus='ps2'>
>       <alias name='input1'/>
>     </input>
>     <input type='keyboard' bus='ps2'>
>       <alias name='input2'/>
>     </input>
>     <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap='en-us'>
>       <listen type='address' address='0.0.0.0'/>
>     </graphics>
>     <graphics type='spice' port='5901' autoport='yes' listen='0.0.0.0' keymap='en-us'>
>       <listen type='address' address='0.0.0.0'/>
>       <image compression='auto_glz'/>
>       <streaming mode='filter'/>
>       <mouse mode='client'/>
>     </graphics>
>     <sound model='ich6'>
>       <alias name='sound0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
>     </sound>
>     <video>
>       <model type='qxl' ram='65536' vram='65536' vgamem='16384' primary='yes'/>
>       <alias name='video0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
>     </video>
>     <memballoon model='virtio'>
>       <stats period='10'/>
>       <alias name='balloon0'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
>     </memballoon>
>   </devices>
>   <seclabel type='none' model='none'/>
>   <seclabel type='dynamic' model='dac' relabel='yes'>
>     <label>+0:+107</label>
>     <imagelabel>+0:+107</imagelabel>
>   </seclabel>
> </domain>
> 


-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170426/8c7f5913/attachment.sig>


More information about the libvirt-users mailing list