[nova] NUMA live migration - mostly how it's tested

Sean Mooney smooney at redhat.com
Thu Feb 28 13:28:15 UTC 2019


On Wed, 2019-02-27 at 21:33 -0500, Artom Lifshitz wrote:
> 
> 
> On Wed, Feb 27, 2019, 21:27 Matt Riedemann, <mriedemos at gmail.com> wrote:
> > On 2/27/2019 7:25 PM, Artom Lifshitz wrote:
> > > What I've been using for testing is this: [3]. It's a series of
> > > patches to whitebox_tempest_plugin, a Tempest plugin used by a bunch
> > > of us Nova Red Hatters to automate testing that's outside of Tempest's
> > > scope.
> > 
> > And where is that pulling in your nova series of changes and posting 
> > test results (like a 3rd party CI) so anyone can see it? Or do you mean 
> > here are tests, but you need to provide your own environment if you want 
> > to verify the code prior to merging it.
> 
> Sorry, wasn't clear. It's the latter. The test code exists, and has run against my devstack environment with my
> patches checked out, but there's no CI or public posting of test results. Getting CI coverage for these NUMA things
> (like the old Intel one) is a whole other topic.
on the ci front i resolved the nested vert on the server i bought to set up a personal ci for numa testing.
that set me back a few weeks in setting up that ci but i hope to run artom whitebox test amoung other in that at some
point. vexhost also provided nested virt to the gate vms. im going to see if we can actully create a non voting job
using the ubuntu-bionic-vexxhost nodeset. if ovh or one of the other providers of ci resource renable nested virt
then we can maybe make that job voting and not need thridparty ci anymor.
> > Can we really not even have functional tests with the fake libvirt 
> > driver and fake numa resources to ensure the flow doesn't blow up?
> 
> That's something I have to look into. We have live migration functional tests, and we have NUMA functional tests, but
> I'm not sure how we can combine the two.

jus as an addtional proof point im am planning to do a bunch of migration and live migration testing in the next 2-4
weeks.

my current backlog on no particalar order is
sriov migration
numa migration
vtpm migration
cross-cell migration
cross-neutron backend migration (ovs<->linuxbridge)
cross-firwall migraton (iptables<->contrack) (previously tested and worked at end of queens)

narrowong in on the numa migration the current set of testcases i plan to manually verify are as follows:

note assume all flavor will have 256mb of ram and 4 cores unless otherwise stated

basic tests
pinned guests (hw:cpu_policy=dedicated)
pinned-isolated guests (hw:cpu_policy=dedicated hw:thread_policy=isolate)
pinned-prefer guests (hw:cpu_policy=dedicated hw:thread_policy=prefer)
unpinned-singel-numa guest (hw:numa_nodes=1)
unpinned-dual-numa guest (hw:numa_nodes=2)
unpinned-dual-numa-unblanced guest (hw:numa_nodes=2 hw:numa_cpu.0=1 hw:numa_cpu.1=1-3
hw:numa_mem.0=64 hw:numa_mem.0=192)
unpinned-hugepage-implcit numa guest (hw:mem_page_size=large)
unpinned-hugepage-multi numa guest (hw:mem_page_size=large hw:numa_nodes=2)
pinned-hugepage-multi numa guest (hw:mem_page_size=large hw:numa_nodes=2 hw:cpu_policy=dedicated)
realtime guest (hw:cpu_policy=dedicated hw:cpu_realtime=yes hw:cpu_realtime_mask=^0-1)
emulator-thread-iosolated guest (hw:cpu_policy=dedicated hw:emulator_threads_policy=isolate)

advanced tests (require extra nova.conf changes)
emulator-thread-shared guest (hw:cpu_policy=dedicated hw:emulator_threads_policy=shared) note cpu_share_set configrued
unpinned-singel-numa-hetorgious-host guest (hw:numa_nodes=1) note vcpu_pin_set adjusted so that
host 1 only has cpus on
numa 1 and host 2 only has cpus on numa node 2.
supper-optimiesd-guest (hw:numa_nodes=2 hw:numa_cpu.0=1 hw:numa_cpu.1=1-3 
hw:numa_mem.0=64 hw:numa_mem.0=192 hw:cpu_realtime=yes hw:cpu_realtime_mask=^0-1 hw:emulator_threads_policy=isolate)
supper-optimiesd-guest-2 (hw:numa_nodes=2 hw:numa_cpu.0=1 hw:numa_cpu.1=1-3 hw:numa_mem.0=64 hw:numa_mem.0=192
hw:cpu_realtime=yes hw:cpu_realtime_mask=^0-1 hw:emulator_threads_policy=share)


for each of these test ill provide a test-command file with the command i used to run the tests and reustlts file
with a summary at the top plus the xmls before and after the migration showing that intially the resouces
would conflict on migration and then the updated xmls after the migration.
i will also provide the local.conf for the devstack deployment and some details about the env like distor/qemu/libvirt
versions.

eventurally i hope all those test cases can be added to the whitebox plugin and verifed in a ci.
we could also try and valideate them in functional tests.

i have attached the xml for the pinned guest as an example of what to expect but i will be compileing this slowly as i
go and zip everying up in an email to the list.
this will take some time to complete and hosestly i had planned to do most of this testing after feature freeze when we
can focus on testing more.

regards
sean


-------------- next part --------------
before live migration
vm test-1 is spawned on uma-migration-2
vm test-2 is spawned on uma-migration-1

both vms are pinned to the same cores on different hosts

<cputune>
    <shares>4096</shares>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <emulatorpin cpuset='0-3'/>
</cputune>

after migration migrated vm was updated to 

<cputune>
    <shares>4096</shares>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='9'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='11'/>
    <emulatorpin cpuset='8-11'/>
</cputune>


-------------------vm test-1 xml--------------------

[centos at numa-migration-2 devstack]$ sudo virsh dumpxml instance-00000005
<domain type='kvm' id='10'>
  <name>instance-00000005</name>
  <uuid>f98cac48-f3a7-450b-b308-72470addf9c5</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="18.1.0"/>
      <nova:name>test-1</nova:name>
      <nova:creationTime>2019-02-28 11:55:45</nova:creationTime>
      <nova:flavor name="pinned">
        <nova:memory>128</nova:memory>
        <nova:disk>1</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>4</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="001e3dc0dba34e8dbf5e08be35e35ed3">admin</nova:user>
        <nova:project uuid="cd45477831e64ea4b9f767d319669b5c">demo</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="2acc1620-3cec-49ff-9926-30021cd2593c"/>
    </nova:instance>
  </metadata>
  <memory unit='KiB'>131072</memory>
  <currentMemory unit='KiB'>131072</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <shares>4096</shares>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <emulatorpin cpuset='0-3'/>
  </cputune>
  <numatune>
    <memory mode='strict' nodeset='0'/>
    <memnode cellid='0' mode='strict' nodeset='0'/>
  </numatune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>OpenStack Foundation</entry>
      <entry name='product'>OpenStack Nova</entry>
      <entry name='version'>18.1.0</entry>
      <entry name='serial'>f98cac48-f3a7-450b-b308-72470addf9c5</entry>
      <entry name='uuid'>f98cac48-f3a7-450b-b308-72470addf9c5</entry>
      <entry name='family'>Virtual Machine</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='4' cores='1' threads='1'/>
    <numa>
      <cell id='0' cpus='0-3' memory='131072' unit='KiB'/>
    </numa>
  </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/stack/data/nova/instances/f98cac48-f3a7-450b-b308-72470addf9c5/disk'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/opt/stack/data/nova/instances/_base/d4de12edffd3d7f66abd78da55df52b79a8fbe79'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='fa:16:3e:ee:29:d9'/>
      <source bridge='br-int'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='5ec40818-471a-469f-8f81-763a9be554cb'/>
      </virtualport>
      <target dev='tap5ec40818-47'/>
      <model type='virtio'/>
      <mtu size='1450'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <log file='/opt/stack/data/nova/instances/f98cac48-f3a7-450b-b308-72470addf9c5/console.log' append='off'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <log file='/opt/stack/data/nova/instances/f98cac48-f3a7-450b-b308-72470addf9c5/console.log' append='off'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' 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='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c809,c943</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c809,c943</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

--------------------vm test-2 xml---------------------------


[centos at numa-migration-1 devstack]$ sudo virsh dumpxml instance-00000006
<domain type='kvm' id='4'>
  <name>instance-00000006</name>
  <uuid>47edc697-01e4-4dfd-8c81-5625c566e53b</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="18.1.0"/>
      <nova:name>test-2</nova:name>
      <nova:creationTime>2019-02-28 11:55:45</nova:creationTime>
      <nova:flavor name="pinned">
        <nova:memory>128</nova:memory>
        <nova:disk>1</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>4</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="001e3dc0dba34e8dbf5e08be35e35ed3">admin</nova:user>
        <nova:project uuid="cd45477831e64ea4b9f767d319669b5c">demo</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="2acc1620-3cec-49ff-9926-30021cd2593c"/>
    </nova:instance>
  </metadata>
  <memory unit='KiB'>131072</memory>
  <currentMemory unit='KiB'>131072</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <shares>4096</shares>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <emulatorpin cpuset='0-3'/>
  </cputune>
  <numatune>
    <memory mode='strict' nodeset='0'/>
    <memnode cellid='0' mode='strict' nodeset='0'/>
  </numatune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>OpenStack Foundation</entry>
      <entry name='product'>OpenStack Nova</entry>
      <entry name='version'>18.1.0</entry>
      <entry name='serial'>47edc697-01e4-4dfd-8c81-5625c566e53b</entry>
      <entry name='uuid'>47edc697-01e4-4dfd-8c81-5625c566e53b</entry>
      <entry name='family'>Virtual Machine</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='4' cores='1' threads='1'/>
    <numa>
      <cell id='0' cpus='0-3' memory='131072' unit='KiB'/>
    </numa>
  </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/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/disk'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/opt/stack/data/nova/instances/_base/d4de12edffd3d7f66abd78da55df52b79a8fbe79'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='fa:16:3e:77:9e:ef'/>
      <source bridge='br-int'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='c339a559-15b8-4b35-8e9d-f47edbdd7cf7'/>
      </virtualport>
      <target dev='tapc339a559-15'/>
      <model type='virtio'/>
      <mtu size='1450'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <log file='/opt/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/console.log' append='off'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <log file='/opt/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/console.log' append='off'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' 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='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c28,c62</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c28,c62</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>




after migration

[centos at numa-migration-2 devstack]$ sudo virsh dumpxml instance-00000006
<domain type='kvm' id='11'>
  <name>instance-00000006</name>
  <uuid>47edc697-01e4-4dfd-8c81-5625c566e53b</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="18.1.0"/>
      <nova:name>test-2</nova:name>
      <nova:creationTime>2019-02-28 11:55:45</nova:creationTime>
      <nova:flavor name="pinned">
        <nova:memory>128</nova:memory>
        <nova:disk>1</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>4</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="001e3dc0dba34e8dbf5e08be35e35ed3">admin</nova:user>
        <nova:project uuid="cd45477831e64ea4b9f767d319669b5c">demo</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="2acc1620-3cec-49ff-9926-30021cd2593c"/>
    </nova:instance>
  </metadata>
  <memory unit='KiB'>131072</memory>
  <currentMemory unit='KiB'>131072</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <shares>4096</shares>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='9'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='11'/>
    <emulatorpin cpuset='8-11'/>
  </cputune>
  <numatune>
    <memory mode='strict' nodeset='0'/>
    <memnode cellid='0' mode='strict' nodeset='1'/>
  </numatune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>OpenStack Foundation</entry>
      <entry name='product'>OpenStack Nova</entry>
      <entry name='version'>18.1.0</entry>
      <entry name='serial'>47edc697-01e4-4dfd-8c81-5625c566e53b</entry>
      <entry name='uuid'>47edc697-01e4-4dfd-8c81-5625c566e53b</entry>
      <entry name='family'>Virtual Machine</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='4' cores='1' threads='1'/>
    <numa>
      <cell id='0' cpus='0-3' memory='131072' unit='KiB'/>
    </numa>
  </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/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/disk'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/opt/stack/data/nova/instances/_base/d4de12edffd3d7f66abd78da55df52b79a8fbe79'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='fa:16:3e:77:9e:ef'/>
      <source bridge='br-int'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='c339a559-15b8-4b35-8e9d-f47edbdd7cf7'/>
      </virtualport>
      <target dev='tapc339a559-15'/>
      <model type='virtio'/>
      <mtu size='1450'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/2'/>
      <log file='/opt/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/console.log' append='off'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/2'>
      <source path='/dev/pts/2'/>
      <log file='/opt/stack/data/nova/instances/47edc697-01e4-4dfd-8c81-5625c566e53b/console.log' append='off'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5901' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' 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='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c268,c426</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c268,c426</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>



More information about the openstack-discuss mailing list