Skip to contentSkip to conversation

Who uses TYPE_VMBUS_DEVICE?

DISCUSSION Eduardo Habkost 3 participants 4 messages Oct 9, 2020 – Oct 12, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I've just stumbled upon hw/hyperv/vmbus.c and I'm a bit confused:
I haven't found any subclasses of the abstract type TYPE_VMBUS_DEVICE in the QEMU tree.

I see a few patches in qemu-devel implementing a few vmbus devices, but none were merged to qemu.git master. Are there any short term plans to merge vmbus device implementations in QEMU?

Signature · 1 line
Eduardo
#1 lore raw

Hi Eduardo,

Quoted 10 lines · Eduardo Habkost

Hi,

I've just stumbled upon hw/hyperv/vmbus.c and I'm a bit confused:
I haven't found any subclasses of the abstract type TYPE_VMBUS_DEVICE in the QEMU tree.

I see a few patches in qemu-devel implementing a few vmbus devices, but none were merged to qemu.git master. Are there any short term plans to merge vmbus device implementations in QEMU?

Perhaps this depends on your definition of "short term". At least one VMBus driver (hv-balloon) is being actively worked on (by me).

Also, a working VMBus implementation (even without any downstream devices) is apparently required for high-performance Windows kernel debugging interfaces.

Maciej

#2 lore raw
Quoted 9 lines · Maciej S. Szmigiero

Hi Eduardo,

Quoted 6 lines · Eduardo Habkost

Hi,

I've just stumbled upon hw/hyperv/vmbus.c and I'm a bit confused:
I haven't found any subclasses of the abstract type TYPE_VMBUS_DEVICE in the QEMU tree.

Quoted 8 lines
Quoted 4 lines

I see a few patches in qemu-devel implementing a few vmbus devices, but none were merged to qemu.git master. Are there any short term plans to merge vmbus device implementations in QEMU?

Perhaps this depends on your definition of "short term". At least one VMBus driver (hv-balloon) is being actively worked on (by me).

Good to know, thanks!

Quoted 4 lines

Also, a working VMBus implementation (even without any downstream devices) is apparently required for high-performance Windows kernel debugging interfaces.

Other code might be required, but TYPE_VMBUS_DEVICE seems to be dead code (which can't be executed or tested at all) unless a concrete class exists.

Signature · 1 line
Eduardo
#3 lore raw

Hi Eduardo,

Sorry for the late reply, in general there are also hv-net and hv-scsi implementations from Roman Kagan, which have not been merged in...

I have a WIP component which does not use vmbus but Windows needs it to exist and function in order for it to work (it's the synthetic debugger interface for HyperV)

Quoted 34 lines · Eduardo Habkost
Quoted 9 lines · Maciej S. Szmigiero

Hi Eduardo,

Quoted 6 lines · Eduardo Habkost

Hi,

I've just stumbled upon hw/hyperv/vmbus.c and I'm a bit confused:
I haven't found any subclasses of the abstract type TYPE_VMBUS_DEVICE in the QEMU tree.

Quoted 8 lines
Quoted 4 lines

I see a few patches in qemu-devel implementing a few vmbus devices, but none were merged to qemu.git master. Are there any short term plans to merge vmbus device implementations in QEMU?

Perhaps this depends on your definition of "short term". At least one VMBus driver (hv-balloon) is being actively worked on (by me).

Good to know, thanks!

Quoted 4 lines

Also, a working VMBus implementation (even without any downstream devices) is apparently required for high-performance Windows kernel debugging interfaces.

Other code might be required, but TYPE_VMBUS_DEVICE seems to be dead code (which can't be executed or tested at all) unless a concrete class exists.

--
Eduardo