Skip to contentSkip to conversation

kqemu in 0.7.2 no longer boots Xen

Qemu-devel Anthony Liguori 3 participants 5 messages Sep 12, 2005 – Sep 14, 2005

lore
Share & tools
lore
#0 lore raw

Admittedly this is probably not a standard usage, but I'm using qemu for Xen development (Xen is an Open Source hypervisor). It works quite well so far.

0.7.2 seems to have broken support for kqemu. Linux freezes during boot (running in ring 1 under Xen) right before launching the INIT process. Passing -no-kqemu or reverting to 0.7.1 makes the problem go away.

Without knowing the differences in kqemu between versions, it's hard to narrow down any further. I looked at the diffs for qemu though and did not see anything obvious.

Let me know if there's anything I can do to help narrow down the problem.

Thanks!

Regards,

Anthony Liguori

#1 lore raw
Quoted 11 lines · Anthony Liguori

Admittedly this is probably not a standard usage, but I'm using qemu for Xen development (Xen is an Open Source hypervisor). It works quite well so far.

0.7.2 seems to have broken support for kqemu. Linux freezes during boot (running in ring 1 under Xen) right before launching the INIT process. Passing -no-kqemu or reverting to 0.7.1 makes the problem go away.

Without knowing the differences in kqemu between versions, it's hard to narrow down any further. I looked at the diffs for qemu though and did not see anything obvious.

kqemu is a proprierary module only available as a binary object. You have approximately zero chance of finding or fixing bugs in it.

Paul

#2 lore raw
Quoted 11 lines · Paul Brook
Quoted 5 lines · Anthony Liguori

Without knowing the differences in kqemu between versions, it's hard to narrow down any further. I looked at the diffs for qemu though and did not see anything obvious.

kqemu is a proprierary module only available as a binary object. You have approximately zero chance of finding or fixing bugs in it.

Hi Paul,

FWIW, I've also tried to get Xen running under qvm86 with no success. The accelerator module generates an error part-way into the Linux boot sequence (right after disk probing).

dmesg shows that shadow faulting the GDT is failing but that's occuring a bit before it bails out (according to the timestamps).

I can provide a script that can take a built Xen tree and launchs qemu with Xen automatically (you could provide an empty disk since it dies long before it mounts the disk). It's not as simple as just passing a -kernel because Xen needs to be booted via multiboot.

Regards,

Anthony Liguori

Quoted 4 lines

Paul

#3 lore raw
In reply to Anthony Liguori
Quoted 1 line · Anthony Liguori

0.7.2 seems to have broken support for kqemu.

You are using both qemu 0.7.2 and kqemu 0.7.2 right? qemu 0.7.2 introduced some incompatible changes and no longer works with older versions of kqemu.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#4 lore raw
Quoted 11 lines · Jim C. Brown
Quoted 3 lines · Anthony Liguori

0.7.2 seems to have broken support for kqemu.

You are using both qemu 0.7.2 and kqemu 0.7.2 right? qemu 0.7.2 introduced some incompatible changes and no longer works with older versions of kqemu.

Yup.

Regards,

Anthony Liguori