Skip to contentSkip to conversation

PCI hotplug controller emulation

Qemu-devel Zhai, Edwin 3 participants 5 messages May 16, 2008 – May 21, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I have cooked up a patch of ACPI PCI hotplug controller emulation, which can be extended to support hotplug of virtual PCI device, say ne2000 NIC.

Are you guys interested to integrate this device emulation?

BTW, modification of ACPI DSDT table is required, but QEMU reuse the binary from Bochs. I don't know how to handle such issue in QEMU.

Thanks,

Signature · 2 lines
best rgds,
edwin
#1 lore raw
Quoted 2 lines

BTW, modification of ACPI DSDT table is required, but QEMU reuse the binary from Bochs. I don't know how to handle such issue in QEMU.

Get the changes merged into upstream bochs source.

Paul

#2 lore raw
In reply to Zhai, Edwin
Quoted 4 lines · Edwin

Hello,

I have cooked up a patch of ACPI PCI hotplug controller emulation, which can be extended to support hotplug of virtual PCI device, say ne2000 NIC.

KVM also has such a feature. It might be a good idea to look at that implementation and see how things differ between the approaches and maybe get yours into KVM too.

Quoted 6 lines

Are you guys interested to integrate this device emulation?

BTW, modification of ACPI DSDT table is required, but QEMU reuse the binary from Bochs. I don't know how to handle such issue in QEMU.

Best idea here would be to send the patches to the bochs list. Alternatively there is a diff file against the bochs bios in the qemu svn too. Getting things upstream with bochs is preferred though.

Alex

#3 lore raw
Quoted 11 lines · Alexander Graf
Quoted 7 lines

Are you guys interested to integrate this device emulation?

BTW, modification of ACPI DSDT table is required, but QEMU reuse the binary from
Bochs. I don't know how to handle such issue in QEMU.

Best idea here would be to send the patches to the bochs list. Alternatively there is a diff file against the bochs bios in the qemu svn too. Getting things upstream with bochs is preferred though.

This diff file seems to be used to keep pending changes for reference only. It's better to push everything into Bochs. But you know, bochs is written in C++, so we have to rewrite device emulation:(

Quoted 4 lines

Alex

Signature · 2 lines
best rgds,
edwin
#4 lore raw
In reply to Alexander Graf

Tosatti,

I know you have a hotplug patch for KVM.
Do you have any plan to push it into QEMU upstream? To do this, also need push the DSDT changes into Bochs.

Maybe we can co-ordinate to eliminate duplicated efforts.

Quoted 28 lines · Alexander Graf
Quoted 5 lines · Edwin

Hello,

I have cooked up a patch of ACPI PCI hotplug controller emulation, which can be
extended to support hotplug of virtual PCI device, say ne2000 NIC.

KVM also has such a feature. It might be a good idea to look at that implementation and see how things differ between the approaches and maybe get yours into KVM too.

Quoted 7 lines

Are you guys interested to integrate this device emulation?

BTW, modification of ACPI DSDT table is required, but QEMU reuse the binary from
Bochs. I don't know how to handle such issue in QEMU.

Best idea here would be to send the patches to the bochs list. Alternatively there is a diff file against the bochs bios in the qemu svn too. Getting things upstream with bochs is preferred though.

Alex

Signature · 2 lines
best rgds,
edwin