device assignment doesn't work: "error: requires KVM support"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
qemu.git commit:
I met the following error when do device assignment with qemu in kvm host.
./x86_64-
qemu-system-x86_64: -device pci-assign,
qemu-system-x86_64: -device pci-assign,
./x86_64-
-------
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.
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 <email address hidden> d9af1c143fbe2cc 212ec89e4b
Thu, 27 Oct 2011 20:34:42 +0800 (10:34 -0200)
committer Marcelo Tosatti <email address hidden>
Thu, 27 Oct 2011 20:34:42 +0800 (10:34 -0200)
commit 7879db7e9c09b92
Revert "qemu-kvm: set default accelerator via target.conf"
This reverts commit a5c40eb1aa929a0 3157252db7337bc 4ddd2435be.
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 <email address hidden>