KVM: kvm_set_slave_cpu: Invalid argument when trying direct interrupt delivery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tomoki

I tried your smart patch "cpu isolation and direct interrupt delivery",  
	http://article.gmane.org/gmane.linux.kernel/1353803

got  output when I run qemu
	kvm_set_slave_cpu: Invalid argument

So I wonder
* Did I  misuse your patches? 
* How is the offlined CPU assigned? or the Guest OS will automaticly detect and use it?

details of my trial:
- based on v3.6-rc4 and qemu-kvm-1.0 as you commented
- boot the kernel with intel_iommu=on
  BOOT_IMAGE=(hd0,1)/boot/vmlinuz-3.6.0-rc4+ root=/dev/sda1 rhgb quiet selinux=0 intel_iommu=on
- the offlined cpu
  # cat /sys/devices/system/cpu/offline 
  23
- qemu command line
  qemu-kvm -enable-kvm -m 1024 -cpu qemu64,+x2apic -no-kvm-pit -serial pty -nographic -drive file=/mnt/sdb/vmtest/testfc.qcow2,if=virtio,index=0,format=qcow2 -spice port=12000,addr=186.100.8.171,disable-ticketing,plaintext-channel=main,plaintext-channel=playback,plaintext-channel=record,image-compression=auto_glz


Thanks,
Yang Minqiang--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux