Change in vdsm[master]: Add a libvirt migration hook to filter out min_guarantee ele...

fromani at redhat.com fromani at redhat.com
Thu Sep 18 12:59:55 UTC 2014


Francesco Romani has posted comments on this change.

Change subject: Add a libvirt migration hook to filter out min_guarantee element
......................................................................


Patch Set 6: Verified+1

Worked on my testcase, the VM migrated succesfully on a destination VM with libvirt 1.2.9-git and the hook installed:

2014-09-18 12:54:11.965+0000: 1288: debug : virDomainMigratePrepare3Params:6925 : params["destination_xml"]=(string)<domain type='kvm' id='2'>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <memory unit='KiB'>16384</memory>
  <currentMemory unit='KiB'>16384</currentMemory>
  <memtune>
    <min_guarantee unit='KiB'>16384</min_guarantee>
  </memtune>
  <vcpu placement='static' current='1'>160</vcpu>
  <cputune>
    <shares>1020</shares>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>oVirt</entry>
      <entry name='product'>oVirt Node</entry>
      <entry name='version'>7-0.1406.el7.centos.2.5</entry>
      <entry name='serial'>46E8615B-820D-4F59-A5EC-40167EB0817D_40:16:7e:b0:81:7d</entry>
      <entry name='uuid'>50af01bb-29bd-4263-82af-4d49d53260ba</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='rhel6.5.0'>hvm</type>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>Opteron_G3</model>
    <topology sockets='160' cores='1' threads='1'/>
  </cpu>
  <clock offset='variable' adjustment='0' basis='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <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='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/rhev/data-center/mnt/192.168.1.20:_srv_virtstore_nfs_generic_iso/b0390d9e-2f1d-43c0-a56c-a20af032e934/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-20-1.iso' startupPolicy='optional'>
        <seclabel model='selinux' labelskip='yes'/>
      </source>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <serial></serial>
      <boot order='1'/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='block' device='disk' snapshot='no'>
      <driver name='qemu' type='qcow2' cache='none' error_policy='stop' io='native'/>
      <source dev='/rhev/data-center/00000002-0002-0002-0002-0000000003dd/8ceb838a-4e74-420d-b1e2-817c0e9f8eea/images/0780c420-558a-4ac6-9d45-262597906528/40a6be16-ede9-46ac-af92-22b0e546d301'/>
      <target dev='vda' bus='virtio'/>
      <serial>0780c420-558a-4ac6-9d45-262597906528</serial>
      <boot order='2'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <alias name='scsi0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:1a:4a:c7:22:01'/>
      <source bridge='ovirtmgmt'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <filterref filter='vdsm-no-mac-spoofing'/>
      <link state='up'/>
      <bandwidth>
      </bandwidth>
      <boot order='3'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.com.redhat.rhevm.vdsm'/>
      <target type='virtio' name='com.redhat.rhevm.vdsm'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <alias name='channel2'/>
      <address type='virtio-serial' controller='0' bus='0' port='3'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='5900' autoport='yes' keymap='en-us' passwd='15iZndd3/y5e' passwdValidTo='2014-09-18T12:56:11' connected='keep'>
      <listen type='network' address='192.168.1.53' network='vdsm-ovirtmgmt'/>
      <clipboard copypaste='no'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='32768' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='none'>
      <alias name='balloon0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c134,c269</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c134,c269</imagelabel>
  </seclabel>
</domain>

2014-09-18 12:54:11.965+0000: 1288: debug : virDomainMigratePrepare3Params:6925 : params["migrate_uri"]=(string)tcp://192.168.1.51
2014-09-18 12:54:11.965+0000: 1288: debug : virDomainMigratePrepare3Params:6925 : params["bandwidth"]=(ullong)32
2014-09-18 12:54:11.965+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.965+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:11.980+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd73fb26eb0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd73fb26eb0
2014-09-18 12:54:11.981+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:11.981+0000: 1288: debug : qemuMigrationPrepareDirect:2833 : driver=0x7fd7200df220, dconn=0x7fd70c0036e0, cookiein=<qemu-migration>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <hostname>goji.rokugan.lan</hostname>
  <hostuuid>2cb1c505-60d3-4b5c-84b5-6c0783689424</hostuuid>
  <feature name='lockstate'/>
</qemu-migration>
, cookieinlen=240, cookieout=0x7fd72e99eb68, cookieoutlen=0x7fd72e99eb64, uri_in=tcp://192.168.1.51, uri_out=0x7fd71c004040, def=0x7fd71c01e4e0, origname=(null), listenAddress=<null>, flags=3
2014-09-18 12:54:11.982+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:11.982+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:11.982+0000: 1288: debug : qemuMigrationPrepareDirect:2936 : Generated uri_out=tcp://192.168.1.51:49152
2014-09-18 12:54:11.982+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:11.982+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:11.982+0000: 1288: debug : qemuDomainDefFormatBuf:1720 : Removing default USB controller from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:11.982+0000: 1288: debug : qemuDomainDefFormatBuf:1741 : Removing default pci-root from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:11.983+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:11.983+0000: 1288: debug : virHookCall:287 : Calling hook opstr=migrate subopstr=begin extra=-
2014-09-18 12:54:11.983+0000: 1288: debug : virCommandRunAsync:2409 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /etc/libvirt/hooks/qemu KXS_C0 migrate begin -
2014-09-18 12:54:11.987+0000: 1288: debug : virFileClose:99 : Closed fd 28
2014-09-18 12:54:11.987+0000: 1288: debug : virFileClose:99 : Closed fd 30
2014-09-18 12:54:11.987+0000: 1288: debug : virCommandRunAsync:2412 : Command result 0, with PID 11620
2014-09-18 12:54:11.987+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:11.987+0000: 1288: debug : virFileClose:99 : Closed fd 26
2014-09-18 12:54:12.002+0000: 1288: debug : virCommandRun:2260 : Result status 0, stdout: '<domain type='kvm'>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <memory unit='KiB'>16384</memory>
  <currentMemory unit='KiB'>16384</currentMemory>
  <memtune>
    
  </memtune>
  <vcpu placement='static' current='1'>160</vcpu>
  <cputune>
    <shares>1020</shares>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
    <sysinfo type='smbios'>
      <system>
        <entry name='manufacturer'>oVirt</entry>
        <entry name='product'>oVirt Node</entry>
        <entry name='version'>7-0.1406.el7.centos.2.5</entry>
        <entry name='serial'>46E8615B-820D-4F59-A5EC-40167EB0817D_40:16:7e:b0:81:7d</entry>
        <entry name='uuid'>50af01bb-29bd-4263-82af-4d49d53260ba</entry>
      </system>
    </sysinfo>
  <os>
    <type arch='x86_64' machine='rhel6.5.0'>hvm</type>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>Opteron_G3</model>
    <topology sockets='160' cores='1' threads='1'/>
  </cpu>
  <clock offset='variable' adjustment='0' basis='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <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='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/rhev/data-center/mnt/192.168.1.20:_srv_virtstore_nfs_generic_iso/b0390d9e-2f1d-43c0-a56c-a20af032e934/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-20-1.iso' startupPolicy='optional'>
      </source>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <serial></serial>
      <boot order='1'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='block' device='disk' snapshot='no'>
      <driver name='qemu' type='qcow2' cache='none' error_policy='stop' io='native'/>
      <source dev='/rhev/data-center/00000002-0002-0002-0002-0000000003dd/8ceb838a-4e74-420d-b1e2-817c0e9f8eea/images/0780c420-558a-4ac6-9d45-262597906528/40a6be16-ede9-46ac-af92-22b0e546d301'/>
      <target dev='vda' bus='virtio'/>
      <serial>0780c420-558a-4ac6-9d45-262597906528</serial>
      <boot order='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:1a:4a:c7:22:01'/>
      <source bridge='ovirtmgmt'/>
      <bandwidth>
      </bandwidth>
      <model type='virtio'/>
      <filterref filter='vdsm-no-mac-spoofing'/>
      <link state='up'/>
      <boot order='3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.com.redhat.rhevm.vdsm'/>
      <target type='virtio' name='com.redhat.rhevm.vdsm'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='3'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' autoport='yes' keymap='en-us' passwd='15iZndd3/y5e' passwdValidTo='2014-09-18T12:56:11' connected='keep'>
      <listen type='network' network='vdsm-ovirtmgmt'/>
      <clipboard copypaste='no'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='32768' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'/>
</domain>
' stderr: ''
2014-09-18 12:54:12.002+0000: 1288: debug : virFileClose:99 : Closed fd 29
2014-09-18 12:54:12.002+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.002+0000: 1288: debug : qemuMigrationPrepareAny:2518 : Using hook-filtered domain XML: <domain type='kvm'>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <memory unit='KiB'>16384</memory>
  <currentMemory unit='KiB'>16384</currentMemory>
  <memtune>
    
  </memtune>
  <vcpu placement='static' current='1'>160</vcpu>
  <cputune>
    <shares>1020</shares>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
    <sysinfo type='smbios'>
      <system>
        <entry name='manufacturer'>oVirt</entry>
        <entry name='product'>oVirt Node</entry>
        <entry name='version'>7-0.1406.el7.centos.2.5</entry>
        <entry name='serial'>46E8615B-820D-4F59-A5EC-40167EB0817D_40:16:7e:b0:81:7d</entry>
        <entry name='uuid'>50af01bb-29bd-4263-82af-4d49d53260ba</entry>
      </system>
    </sysinfo>
  <os>
    <type arch='x86_64' machine='rhel6.5.0'>hvm</type>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>Opteron_G3</model>
    <topology sockets='160' cores='1' threads='1'/>
  </cpu>
  <clock offset='variable' adjustment='0' basis='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <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='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/rhev/data-center/mnt/192.168.1.20:_srv_virtstore_nfs_generic_iso/b0390d9e-2f1d-43c0-a56c-a20af032e934/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-20-1.iso' startupPolicy='optional'>
      </source>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <serial></serial>
      <boot order='1'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='block' device='disk' snapshot='no'>
      <driver name='qemu' type='qcow2' cache='none' error_policy='stop' io='native'/>
      <source dev='/rhev/data-center/00000002-0002-0002-0002-0000000003dd/8ceb838a-4e74-420d-b1e2-817c0e9f8eea/images/0780c420-558a-4ac6-9d45-262597906528/40a6be16-ede9-46ac-af92-22b0e546d301'/>
      <target dev='vda' bus='virtio'/>
      <serial>0780c420-558a-4ac6-9d45-262597906528</serial>
      <boot order='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:1a:4a:c7:22:01'/>
      <source bridge='ovirtmgmt'/>
      <bandwidth>
      </bandwidth>
      <model type='virtio'/>
      <filterref filter='vdsm-no-mac-spoofing'/>
      <link state='up'/>
      <boot order='3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.com.redhat.rhevm.vdsm'/>
      <target type='virtio' name='com.redhat.rhevm.vdsm'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/50af01bb-29bd-4263-82af-4d49d53260ba.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='3'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' autoport='yes' keymap='en-us' passwd='15iZndd3/y5e' passwdValidTo='2014-09-18T12:56:11' connected='keep'>
      <listen type='network' network='vdsm-ovirtmgmt'/>
      <clipboard copypaste='no'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='32768' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'/>
</domain>

2014-09-18 12:54:12.006+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.006+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.006+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.006+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.006+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.006+0000: 1288: debug : qemuDomainDefFormatBuf:1720 : Removing default USB controller from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:12.006+0000: 1288: debug : qemuDomainDefFormatBuf:1741 : Removing default pci-root from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:12.007+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.007+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.009+0000: 1288: debug : qemuDomainDefFormatBuf:1720 : Removing default USB controller from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:12.009+0000: 1288: debug : qemuDomainDefFormatBuf:1741 : Removing default pci-root from domain 'KXS_C0' for migration compatibility
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.009+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.013+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.013+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.013+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.013+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.013+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : virQEMUCapsCacheLookup:3491 : Returning caps 0x7fd7201fa020 for /usr/libexec/qemu-kvm
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd7201fa020
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectNew:202 : OBJECT_NEW: obj=0x7fd71c01ea50 classname=virQEMUCaps
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd7201fa020
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c01ea50
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x7fd71c01ea50
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectNew:202 : OBJECT_NEW: obj=0x7fd71c028300 classname=virDomainObj
2014-09-18 12:54:12.017+0000: 1288: debug : qemuMigrationEatCookie:1230 : cookielen=240 cookie='<qemu-migration>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <hostname>goji.rokugan.lan</hostname>
  <hostuuid>2cb1c505-60d3-4b5c-84b5-6c0783689424</hostuuid>
  <feature name='lockstate'/>
</qemu-migration>
'
2014-09-18 12:54:12.017+0000: 1288: debug : qemuMigrationCookieXMLParseStr:1149 : xml=<qemu-migration>
  <name>KXS_C0</name>
  <uuid>50af01bb-29bd-4263-82af-4d49d53260ba</uuid>
  <hostname>goji.rokugan.lan</hostname>
  <hostuuid>2cb1c505-60d3-4b5c-84b5-6c0783689424</hostuuid>
  <feature name='lockstate'/>
</qemu-migration>

2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : qemuDomainObjBeginJobInternal:1252 : Starting async job: none (async=none vm=0x7fd71c028300 name=KXS_C0)
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c028300
2014-09-18 12:54:12.017+0000: 1288: debug : qemuDomainObjBeginJobInternal:1299 : Started async job: migration in (vm=0x7fd71c028300 name=KXS_C0)
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : qemuDomainObjSetJobPhase:1165 : Setting 'migration in' phase to 'prepare'
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : qemuProcessStart:3906 : vm=0x7fd71c028300 name=KXS_C0 id=-1 pid=0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : qemuProcessStart:3932 : Beginning VM startup process
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : qemuProcessStart:3946 : Generating paths
2014-09-18 12:54:12.017+0000: 1288: debug : qemuProcessStart:3955 : Setting current domain def as transient
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.017+0000: 1288: debug : virHookCall:287 : Calling hook opstr=prepare subopstr=begin extra=-
2014-09-18 12:54:12.017+0000: 1288: debug : virCommandRunAsync:2409 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /etc/libvirt/hooks/qemu KXS_C0 prepare begin -
2014-09-18 12:54:12.018+0000: 1288: debug : virFileClose:99 : Closed fd 28
2014-09-18 12:54:12.019+0000: 1288: debug : virFileClose:99 : Closed fd 30
2014-09-18 12:54:12.019+0000: 1288: debug : virCommandRunAsync:2412 : Command result 0, with PID 11621
2014-09-18 12:54:12.019+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:12.019+0000: 1288: debug : virFileClose:99 : Closed fd 26
2014-09-18 12:54:12.025+0000: 1288: debug : virCommandRun:2260 : Result status 0, stdout: '' stderr: ''
2014-09-18 12:54:12.026+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.026+0000: 1288: debug : virFileClose:99 : Closed fd 29
2014-09-18 12:54:12.026+0000: 1288: debug : qemuProcessStart:3983 : Determining emulator version
2014-09-18 12:54:12.026+0000: 1288: debug : virQEMUCapsCacheLookup:3491 : Returning caps 0x7fd7201fa020 for /usr/libexec/qemu-kvm
2014-09-18 12:54:12.026+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd7201fa020
2014-09-18 12:54:12.026+0000: 1288: debug : virObjectNew:202 : OBJECT_NEW: obj=0x7fd71c01f980 classname=virQEMUCaps
2014-09-18 12:54:12.026+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd7201fa020
2014-09-18 12:54:12.026+0000: 1288: debug : qemuProcessStart:3993 : Preparing network devices
2014-09-18 12:54:12.026+0000: 1288: debug : qemuProcessStart:3998 : Preparing host devices
2014-09-18 12:54:12.026+0000: 1288: debug : qemuProcessStart:4007 : Preparing chr devices
2014-09-18 12:54:12.026+0000: 1288: debug : qemuProcessStart:4016 : Generating domain security label (if required)
2014-09-18 12:54:12.038+0000: 1288: debug : qemuProcessStart:4043 : Ensuring no historical cgroup is lying around
2014-09-18 12:54:12.038+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:12.038+0000: 1288: debug : virFileClose:99 : Closed fd 25
2014-09-18 12:54:12.038+0000: 1288: debug : virFileMakePathHelper:2433 : path=/var/log/libvirt/qemu mode=0777
2014-09-18 12:54:12.039+0000: 1288: debug : qemuProcessStart:4120 : Creating domain log file
2014-09-18 12:54:12.039+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.046+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.046+0000: 1288: debug : qemuProcessStart:4125 : Checking for KVM availability
2014-09-18 12:54:12.046+0000: 1288: debug : qemuDomainCheckDiskPresence:2476 : Checking for disk presence
2014-09-18 12:54:12.047+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.056+0000: 1288: debug : virFileClose:99 : Closed fd 26
2014-09-18 12:54:12.057+0000: 1288: debug : virStorageFileGetMetadataInternal:774 : path=/rhev/data-center/00000002-0002-0002-0002-0000000003dd/8ceb838a-4e74-420d-b1e2-817c0e9f8eea/images/0780c420-558a-4ac6-9d45-262597906528/40a6be16-ede9-46ac-af92-22b0e546d301, buf=0x7fd71c00f250, len=33280, meta->format=14
2014-09-18 12:54:12.057+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.060+0000: 1288: debug : qemuProcessStart:4179 : Preparing monitor state
2014-09-18 12:54:12.060+0000: 1288: debug : qemuProcessStart:4211 : Assigning domain PCI addresses
2014-09-18 12:54:12.060+0000: 1288: debug : qemuProcessStart:4216 : Building emulator command line
2014-09-18 12:54:12.061+0000: 1288: debug : virArchFromHost:181 : Mapped x86_64 to 32 (x86_64)
2014-09-18 12:54:12.061+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.061+0000: 1288: debug : qemuBuildCommandLine:7526 : conn=0x7fd70c0036e0 driver=0x7fd7200df220 def=0x7fd71c01d980 mon=0x7fd71c005030 json=1 qemuCaps=0x7fd71c01f980 migrateFrom=tcp:[::]:49152 migrateFD=-1 snapshot=(nil) vmop=5
2014-09-18 12:54:12.061+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd71c001280
2014-09-18 12:54:12.061+0000: 1288: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fd71c001280
2014-09-18 12:54:12.061+0000: 1288: debug : virObjectRef:296 : OBJECT_REF: obj=0x7fd72014d5c0
2014-09-18 12:54:12.062+0000: 1288: info : virNetDevProbeVnetHdr:203 : Enabling IFF_VNET_HDR
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:350 : dispatching to max 0 clients, called from event watch 7
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:363 : event not handled.
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:350 : dispatching to max 0 clients, called from event watch 7
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:363 : event not handled.
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:350 : dispatching to max 0 clients, called from event watch 7
2014-09-18 12:54:12.065+0000: 1237: debug : virNetlinkEventCallback:363 : event not handled.
2014-09-18 12:54:12.077+0000: 1237: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.086+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.100+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.115+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.128+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.135+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.135+0000: 1288: debug : virCommandRunAsync:2409 : About to run /sbin/tc qdisc del dev vnet0 root
2014-09-18 12:54:12.138+0000: 1288: debug : virFileClose:99 : Closed fd 27
2014-09-18 12:54:12.138+0000: 1288: debug : virFileClose:99 : Closed fd 29
2014-09-18 12:54:12.138+0000: 1288: debug : virFileClose:99 : Closed fd 31
2014-09-18 12:54:12.138+0000: 1288: debug : virCommandRunAsync:2412 : Command result 0, with PID 11624

-- 
To view, visit http://gerrit.ovirt.org/32928
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5f5e79037b755b257f9cac419887606f66705504
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No


More information about the vdsm-patches mailing list