Skip to contentSkip to conversation

Xen 3.0.2 inside QEmu on x86_64

Qemu-devel Milan Holzäpfel 1 participant 1 message May 18, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to run Xen 3.0.2 under QEmu, running on an Linux-2.6.21 x86_64 host. It works with -disable-kqemu, but performance is extremely slow. More precisely, my guest is a 64 bit Xen which should launch a x86_64 linux-2.6.16-something.

Running it without -disable-kqemu and with -kernel-qemu crashes immediately when Xen starts the Domain 0 ("privileged") Linux kernel. You can see the output in the attached console dumps.

Can you do something about this, do you need further information?

I've tested with kqemu-1.3.0_pre11 and QEmu-0.9. Everything except the stuff contained in gentoo's qemu-softmmu ebuild was compiled with GCC-4.1.1, qemu-softmmu was compiled with GCC-3.4.6. This works fine with Grml-0.9 (Linux-based Live-CD).

Command lines used:

# qemu-system-x86_64 -no-kqemu -hda /dev/loop0 -hdc /dev/sysbase/gabh_hcp_test1 -boot c -m 1024 -net nic,vlan=0 -net tap,vlan=0,ifname=t0
# qemu-system-x86_64 -kernel-kqemu -hda /dev/loop0 -m 64 -net none
# qemu-system-x86_64 -hda /dev/loop0 -m 64 -net none

The latter two don't need much memory as they crash very soon anyway, but it happens with larger amounts of memory, too. /dev/loop0 is a small file containing everything usually found in /boot + Grub in the bootsector. /dev/sysbase/gabh_hcp_test1 contains the system which should be launched.

Regards,
Milan Holzäpfel

--