[Bug 1284793] Re: [FFE] Merge qemu 2.0
Gizmo Chicken
gizmochicken at gmail.com
Thu Mar 6 05:46:02 UTC 2014
Good news, bad news.
First the good news:
I have a few VMs that run under KVM using Virt-Manager. ALL of those
VMs are running great with Qemu 2.0.
The bad news:
I have one VM that runs under KVM with VGA passththrough using the VFIO
option. That VM, including VGA passthrough, works flawlessly under Qemu
1.7, but it won't even start under Qemu 2.0.
Here's the error message that I get when I try to start that VM:
qemu-system-x86_64:
/build/buildd/qemu-2.0~git-20140305.f55ea62/hw/pci/pcie.c:240:
pcie_cap_slot_hotplug_common: Assertion `((pci_dev->devfn) & 0x07) == 0'
failed.
Here are the startup commands that work flawlessly with Qemu 1.7, but
that don't work with Qemu 2.0:
sudo vfio-bind 0000:03:00.0 0000:03:00.1 0000:00:12.0 0000:00:12.2 0000:00:16.0 0000:00:16.2 && \
sudo qemu-system-x86_64 \
-enable-kvm \
-M q35 \
-m 4096 \
-cpu host \
-daemonize \
-smp 4,sockets=1,cores=4,threads=1 \
-bios /usr/share/qemu/bios.bin \
-vga none \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root \
-device vfio-pci,host=03:00.0,bus=root,addr=00.0,multifunction=on,x-vga=on \
-device vfio-pci,host=03:00.1,bus=root,addr=00.1 \
-device ahci,bus=pcie.0,id=ahci \
-drive file=/images/Win7img,id=disk,format=raw \
-device ide-hd,bus=ahci.0,drive=disk \
-device vfio-pci,host=00:12.0,bus=pcie.0 \
-device vfio-pci,host=00:12.2,bus=pcie.0 \
-device vfio-pci,host=00:16.0,bus=pcie.0 \
-device vfio-pci,host=00:16.2,bus=pcie.0 \
Any thoughts on why the above isn't working under qemu 2.0?
For more info about VFIO, have a look here:
https://bbs.archlinux.org/viewtopic.php?id=162768
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1284793
Title:
[FFE] Merge qemu 2.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1284793/+subscriptions
More information about the Ubuntu-server-bugs
mailing list