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 2011-10-27 09:20, Markus Armbruster wrote:
> "Ren, Yongjie" <yongjie.ren@xxxxxxxxx> writes:
> 
>>> -----Original Message-----
>>> From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On
>>> Behalf Of Ren, Yongjie
>>> Sent: Thursday, October 27, 2011 3:03 PM
>>> To: Markus Armbruster
>>> Cc: Alex Williamson; KVM General; Avi Kivity
>>> Subject: RE: [qemu bug] device assignment doesn't work: "error: requires KVM
>>> support"
>>>
>>>> -----Original Message-----
>>>> From: Markus Armbruster [mailto:armbru@xxxxxxxxxx]
>>>> Sent: Thursday, October 27, 2011 2:50 PM
>>>> To: Ren, Yongjie
>>>> Cc: Alex Williamson; KVM General; Avi Kivity
>>>> Subject: Re: [qemu bug] device assignment doesn't work: "error: requires KVM
>>>> support"
>>>>
>>>> "Ren, Yongjie" <yongjie.ren@xxxxxxxxx> writes:
>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alex Williamson [mailto:alex.williamson@xxxxxxxxxx]
>>>>>> Sent: Thursday, October 27, 2011 11:04 AM
>>>>>> To: Ren, Yongjie
>>>>>> Cc: KVM General; Avi Kivity
>>>>>> Subject: Re: [qemu bug] device assignment doesn't work: "error: requires
>>>> KVM
>>>>>> support"
>>>> [...]
>>>>>> The error message is correct, device assignment requires kvm support.
>>>>>> What does 'info kvm' in the monitor report?
>>>>> It shows "kvm support: disabled".
>>>>> But when configuring qemu, I get this message " KVM support yes". See
>>> details
>>>> in my attachment configure.log
>>>>
>>>> Try running with --enable-kvm.
>>>
>>> I added '--enable-kvm' when configuring qemu. I got the same configure output.
>>> And I compiled and ran qemu, then I met the same issue as I describled before.
>> Oh, adding '--enable-kvm' when running qemu will work. The following command line enables kvm when qemu starting.
>> ./x86_64-softmmu/qemu-system-x86_64 -smp 2 -m 1024 -device pci-assign,host=0e:00.0 -hda /root/rhel6u1.img --enable-kvm
>> But it didn't need to add '--enable-kvm' two weeks ago. Must we add this parameter from now on if we want to use kvm ?
> 
> Use of KVM should still be the default.  If it isn't anymore, can you
> use bisect to finger the commit that broke it?

Might be "qemu-kvm: set default accelerator via target.conf". Unless you
fully install qemu, that conf is not picked up (or an older version is
used). I'd still like to see this working with qemu started from a build
directory...

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


[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