qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 882358] Re: device assignment doesn't work: "error: re


From: Yongjie Ren
Subject: [Qemu-devel] [Bug 882358] Re: device assignment doesn't work: "error: requires KVM support"
Date: Mon, 31 Oct 2011 10:49:26 -0000

This is because kvm is not enabled by default even if I add KVM support when 
configuring qemu. 
Now it got fixed by the following commit.

author  Marcelo Tosatti <address@hidden>        
Thu, 27 Oct 2011 20:34:42 +0800 (10:34 -0200)
committer       Marcelo Tosatti <address@hidden>        
Thu, 27 Oct 2011 20:34:42 +0800 (10:34 -0200)
commit  7879db7e9c09b92d9af1c143fbe2cc212ec89e4b
Revert "qemu-kvm: set default accelerator via target.conf"

This reverts commit a5c40eb1aa929a03157252db7337bc4ddd2435be.

Jan says:

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

Signed-off-by: Marcelo Tosatti <address@hidden>

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/882358

Title:
  device assignment doesn't work: "error: requires KVM support"

Status in QEMU:
  Fix Released

Bug description:
  qemu.git commit:8843cf40c0f482949e6ae9d0119e45d6b96fe890

  I met the following error when do 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/jay/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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/882358/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]