Re: [qemu bug] device assignment doesn't work: "error: requires KVM support"

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

 



On Thu, 2011-10-27 at 10:56 +0800, Ren, Yongjie wrote:
> Hi,
> When doing device assignment with qemu and kvm upstream, I met "error: requires KVM support".  
> Please also refer to the bug in qemu bugzilla. 
> https://bugs.launchpad.net/qemu/+bug/882358
> 
> qemu.git commit:8843cf40c0f482949e6ae9d0119e45d6b96fe890
> 
> I met the following error when doing device assignment with qemu in kvm host.
> ./x86_64-softmmu/qemu-system-x86_64 -smp 2 -m 1024 -device pci-assign,host=0e:00.0 -hda /root/rhel6u1.img
> qemu-system-x86_64: -device pci-assign,host=0e:00.0: pci-assign: error: requires KVM support
> qemu-system-x86_64: -device pci-assign,host=0e:00.0: Device 'pci-assign' could not be initialized
> 
> ./x86_64-softmmu/qemu-system-x86_64 -device ? 2>&1 | grep -i pci-assign
> name "pci-assign", bus PCI, desc "pass through host pci devices to the guest"
> 
> When configuring the qemu, it prints "KVM support yes". My qemu configuration log and compiling log are attached.
> 
> But commit edbb7c0d doesn't have this issue.

Note these are qemu-kvm.git commit IDs.

The error message is correct, device assignment requires kvm support.
What does 'info kvm' in the monitor report?

Alex


--
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