> -----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 ? > > Check /dev/kvm permissions. > I have the permission for /dev/kvm. I use 'root' account. > ls -l /dev/kvm > crw-rw---- 1 root root 10, 232 Oct 26 22:48 /dev/kvm > > yongjie > -- > 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 -- 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