From: Jan Kiszka <jan.kiszka@web.de>
To: Markus Armbruster <armbru@redhat.com>
Cc: "Ren\, Yongjie" <yongjie.ren@intel.com>,
Alex Williamson <alex.williamson@redhat.com>,
KVM General <kvm@vger.kernel.org>, Avi Kivity <avi@redhat.com>
Subject: Re: [qemu bug] device assignment doesn't work: "error: requires KVM support"
Date: Thu, 27 Oct 2011 09:38:02 +0200 [thread overview]
Message-ID: <4EA90A5A.4080204@web.de> (raw)
In-Reply-To: <m3wrbqrjcl.fsf@blackfin.pond.sub.org>
[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]
On 2011-10-27 09:20, Markus Armbruster wrote:
> "Ren, Yongjie" <yongjie.ren@intel.com> writes:
>
>>> -----Original Message-----
>>> From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] 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@redhat.com]
>>>> 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@intel.com> writes:
>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alex Williamson [mailto:alex.williamson@redhat.com]
>>>>>> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2011-10-27 7:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 2:56 [qemu bug] device assignment doesn't work: "error: requires KVM support" Ren, Yongjie
2011-10-27 3:04 ` Alex Williamson
2011-10-27 3:17 ` Ren, Yongjie
2011-10-27 6:49 ` Markus Armbruster
2011-10-27 7:03 ` Ren, Yongjie
2011-10-27 7:12 ` Ren, Yongjie
2011-10-27 7:20 ` Markus Armbruster
2011-10-27 7:38 ` Jan Kiszka [this message]
2011-10-27 12:36 ` Marcelo Tosatti
2011-10-27 7:18 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA90A5A.4080204@web.de \
--to=jan.kiszka@web.de \
--cc=alex.williamson@redhat.com \
--cc=armbru@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=yongjie.ren@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).