Skip to contentSkip to conversation

Test with VT-d patches

DISCUSSION [email protected] 2 participants 2 messages Sep 2, 2008 – Sep 3, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 12 lines · On Tue, Sep 2, 2008 at 4:17 PM, <[email protected]> wrote:
Quoted 3 lines

Hi,

here comes a small part of the dmesg output. Qemu/KVM produces now a CPU

usage

Quoted 4 lines

of about 90%.

Sep  2 11:27:35 ubuntu klogd: [  335.057707] ------------[ cut here 

]------------

Quoted 1 line
Sep  2 11:27:35 ubuntu klogd: [  335.057711] WARNING: at 

kernel/irq/manage.c:180 __enable_irq+0x34/0x80()

Quoted 8 lines
Quoted 1 line
Sep  2 11:27:35 ubuntu klogd: [  335.057713] Unbalanced enable for IRQ 21

[...]

Quoted 2 lines

This messages comes endless.
Something with IRQs?

Hum, seems that interrupt has already been enabled... did you load the driver for the NIC in the host? With pass-through the device is "owned" by the guest.

No.
The driver was not loaded.
It is not possible to start qemu with a pci-device used by the host. (I try this with the second network device.)

Can this interrupt be shared with an other IRQ?

Gregor

#1 lore raw
Quoted 32 lines · On Wednesday 03 September 2008 02:40:06 [email protected] wrote:

Hi,

Quoted 21 lines · On Tue, Sep 2, 2008 at 4:17 PM, <[email protected]> wrote:
Quoted 3 lines

Hi,

here comes a small part of the dmesg output. Qemu/KVM produces now a CPU

usage

Quoted 4 lines

of about 90%.

Sep  2 11:27:35 ubuntu klogd: [  335.057707] ------------[ cut here

]------------

Quoted 1 line
Sep  2 11:27:35 ubuntu klogd: [  335.057711] WARNING: at

kernel/irq/manage.c:180 __enable_irq+0x34/0x80()

Quoted 2 lines
Sep  2 11:27:35 ubuntu klogd: [  335.057713] Unbalanced enable for IRQ

21

Quoted 8 lines

[...]

Quoted 2 lines

This messages comes endless.
Something with IRQs?

Hum, seems that interrupt has already been enabled... did you load the driver for the NIC in the host? With pass-through the device is "owned" by the guest.

Quoted 6 lines

No.
The driver was not loaded.
It is not possible to start qemu with a pci-device used by the host. (I try this with the second network device.)

Can this interrupt be shared with an other IRQ?

Oh, no, not currently...

The device's IRQ should not be shared with other, we haven't implement shared IRQ logic, but soon.

Signature · 2 lines
regards
Yang, Sheng
Quoted 2 lines

Gregor