Comments

Hi,
Here's a patch for QEMU which tells the BIOS it is running on
QEMU/KQEMU/KVM.
I have a set if patches for Seabios using this to runtime select KVM
and QEMU settings, eliminating the need for a specially compiled BIOS
binary.
If we can agree on the interface, I would look into doing something
similar for BOCHS as well.
I will be posting the Seabios patches in a minute.
Cheers,
Jes

On 08/03/2009 06:05 PM, Jes Sorensen wrote:
> Hi,>> Here's a patch for QEMU which tells the BIOS it is running on> QEMU/KQEMU/KVM.>> I have a set if patches for Seabios using this to runtime select KVM> and QEMU settings, eliminating the need for a specially compiled BIOS> binary.>> If we can agree on the interface, I would look into doing something> similar for BOCHS as well.>> I will be posting the Seabios patches in a minute.
The guest never runs on kvm or kqemu. It always runs on qemu, which may
use kvm or kqemu for cpu virtualization.

On 08/05/2009 12:59 PM, Avi Kivity wrote:
> The guest never runs on kvm or kqemu. It always runs on qemu, which may> use kvm or kqemu for cpu virtualization.>
That is exactly why I designed it to have QEMU as the master emu version
and then KVM/KQEMU etc. as the minor version.
However given our conversation yesterday, I am going to respin it as
fw cfg features instead of the blank 'you are running on KVM' thing.
Cheers,
Jes