qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
@ 2005-07-26  7:38 Adrian Smarzewski
  2005-07-26 11:26 ` Paul LeoNerd Evans
  2005-07-26 14:02 ` Flavio Visentin
  0 siblings, 2 replies; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-26  7:38 UTC (permalink / raw)
  To: qemu-devel

I'm sorry, I sent it incorrectly, I'm sending it again now...

host:
Linux laptok 2.6.12-gentoo-r6 #1 Fri Jul 22 10:21:50 CEST 2005 x86_64 
AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux

guest:
Windows XP Home Edition, Service Pack 2 + all updates

qemu:
0.7.1: i386-softmmu, x86_64-softmmu, x86_64-softmmu + kqemu

problem:
Everything works with i386-softmmu and x86_64-softmmu.
Problems with kqemu: win xp displays only the
"We apologize for inconvenience, but Windows did not start
successfully. A recent hardware or software change might have
caused this." screen all the time.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Supported OS: FreeBSD 5.3-RELEASE
@ 2005-07-25 16:21 Bakul Shah
  2005-07-25 20:26 ` [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
  0 siblings, 1 reply; 9+ messages in thread
From: Bakul Shah @ 2005-07-25 16:21 UTC (permalink / raw)
  To: qemu-devel

Here is what I have learned so far w.r.t. freebsd.  Hope this
helps people running qemu+freebsd.

Qemu versions: qemu-0.7.0s.20050717 & qemu-0.7.1 [1] + kqemu
Host: freebsd-5.x freebsd-6, freebsd-7-current [2]
Processors: P4, AthlonXP, P4 HT[3]
VMs[4]: freebsd-4.x, freebsd-5.x, dragonfly (latest)
    netbsd-1.3.x, redhat linux (don't recall versions), plan9,
    winXP, win2k, win2k3 (an earlier beta) -- all on X86

Notes:
[1] qemu-0.7.1 works with the patches from the current qemu port.
    Hopefully Juergen Lock will update the port soon.
[2] Most of my testing is with -current but generally
    older versions have not given any trouble.
[3] Hyperthreaded P4 + kqemu works fine for the most part but
    I have encountered some problems.  Haven't had time to
    investigate further.
[4] VMs were built using various versions of qemu so they
    may or may not build with the latest qemu.

qemu-system-x86-64 brings up 6.0-BETA1-amd64 into the install
menu but then it (sysinstall) fails to find any disks!  When
stopped at the boot prompt, prior to freebsd kernel booting,
we see that the bios does detect the C disk so this likely
means the freebsd probe code is using some feature that qemu
does not emulate.

Typically I test all unix VMs by fetching sources, rebuilding
everything and rebooting -- this is a pretty good test for
real h/w as well!  I have used only the tap device, not user
mode networking (slirp).  Networking works well enough.  NFS
mounting the host FS works but is rather slow.  I have not
tested sound.  With kqemu VMs run about twice as slow as real
h/w.  Not bad at all!

qemu+gdb works very well for debugging freebsd kernels! (I
believe I sent the details on some freebsd list earlier which
you can search for).

For convenience I use if_bridge and run a local dhcpd that
serves DHCP requests on the bridge0 device.  In addition I
use NAT using pf.  /etc/qemu-ifup looks like this:

#!/bin/sh
sbin/ifconfig $1 up
/sbin/ifconfig bridge0 deletem $1  2>/dev/null
/sbin/ifconfig bridge0 addm $1 

This combination allows me to run multiple VMs (I just
suspend (^Z) the ones not in use).  The only fiddling I do is
to use a script to ensure that different VMs use different
MAC address.

-- bakul

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-30 22:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26  7:38 [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
2005-07-26 11:26 ` Paul LeoNerd Evans
2005-07-26 12:17   ` Adrian Smarzewski
2005-07-26 14:02 ` Flavio Visentin
2005-07-26 14:26   ` Adrian Smarzewski
2005-07-30 14:12   ` Adrian Smarzewski
2005-07-30 15:14     ` Paul Brook
2005-07-30 22:13       ` Adrian Smarzewski
  -- strict thread matches above, loose matches on Subject: below --
2005-07-25 16:21 [Qemu-devel] Supported OS: FreeBSD 5.3-RELEASE Bakul Shah
2005-07-25 20:26 ` [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).