Public bug reported: Create a domain xml file. There is nothing special required in the VM description, the following will suffice:
<domain type='kvm'> <name>test1</name> <uuid>cd224bdf-9b8a-e2f7-ef3b-ae7acfd30c1d</uuid> <memory>524288</memory> <currentMemory>524288</currentMemory> <vcpu>1</vcpu> <os> <type arch='x86_64' machine='pc-0.11'>hvm</type> <boot dev='cdrom'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> </devices> </domain> Note that I am not attempting to set CPU affinity anywhere. Now do: $ virsh --connect qemu:///session define test0.xml Connecting to uri: qemu:///session Domain test0 defined from test0.xml $ virsh --connect qemu:///session start test0 Connecting to uri: qemu:///session error: Failed to start domain test0 error: failed to set CPU affinity: Operation not permitted ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- libvirtd can't start qemu:///session domain - failed to set CPU affinity: Operation not permitted https://bugs.launchpad.net/bugs/535147 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs