specific device not available in client (passthrough) with high cpu load on host, none in client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
qemu-kvm (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
I've got a specific device which is not always handed down to the kvm client showing a high cpu load on the kvm host. No cpu load shown in the client (win7).
A few (two) times I saw this device working properly with no high cpu usage on the kvm host, but this was broken after a reboot of the KVM host in at least one time. Reboots of the client showed the device continue to work correctly multiple times before I rebooted the host.
06:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:aa68]
If the device works correctly, a device is shown by the device manager within windows 7. If not no device is shown, while the host KVM process consumes all cpu cycles assigned to it (2 cpu's in this case) and the client shows not cpu power used.
My guess this is specific to this device (a sound device on the graphics card, HD5440). The graphics device and an USB device in passthough both work without problems.
When removing the sound device no high cpu usage is shown on the host.
Adding the sound device again, high cpu usage is shown on the host.
The host is a Quantal server installation.
# lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
# apt-cache policy qemu-kvm
qemu-kvm:
Installed: 1.2.0+noroms-
Candidate: 1.2.0+noroms-
Version table:
*** 1.2.0+noroms-
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: qemu-kvm 1.2.0+noroms-
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Wed Oct 24 21:59:10 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: qemu-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1102
dmi.board.
dmi.board.name: SABERTOOTH 990FX
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: To be filled by O.E.M.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Thanks for reporting this bug. Would it be possible for you to test this with the upstream qemu?
Did this used to work consistently with older versions of qemu (say in precise)?
Is there any pattern - for instance a full shutdown followed by power-on of the host results in the sound card being usable in the guest, while a reboot results in the sound card not being usable in the guest?