qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] objective benchmark?


From: Ben Taylor
Subject: Re: [Qemu-devel] objective benchmark?
Date: Tue, 16 May 2006 8:53:52 -0400

---- Kazu <address@hidden> wrote: 
> Tuesday, May 16, 2006 3:55 PM Christian MICHON wrote:
> 
> >how can we do the same if the host is winXP ?
> 
> >Today, on linux guests, 2.4.x kernel boot faster than 2.6.x kernel
> >inside qemu (unless using "clock=pit" on 2.6.x). 2 days ago,
> >when I tried to setup Solaris x86 10 guest inside winXP host, I
> >gave up since the timing engine inside the guest seems slow.
> 
> >I would really like to know how to solve this on XP hosts.
> 
> RTC is not used on Win host.
> SpeedStep/PowerNow! is disabled by changing miminal power management to
> other items at Control Panel->Power Option->Power Management Setting.
> 
> I don't think it is necessary to set it if your PC is ACPI. Set it if the
> clock of win2k guest is faster than the real time while IE is running.
> 
> It is normal that 2.4 kernel boots faster than 2.6 kernel, isn't it? I don't
> know why Solaris x86 10 doesn't work.

add ",atapi-cd-dma-enabled=0" to the boot line when installing.  The QEMU 
IDE controller doesn't implement DMA (or dma correctly).   If you don't give
a Solaris VM enough memory, the installer (java) will coredump, and it 
appears that it's running out of memory.   

Once you've got Solaris 10 X86 installed, you'll need to get the Disk Update
from http://tools.de/solaris/itu/DU.zip.  Normally you could do an Install Time 
Update to
add this driver disk, but Qemu doesn't implement a floppy in ACPI (I'm testing
patches now to see if that fixes the problem), and some folks are working on
OpenSolaris to fix the enumeration of the floppy on the emulated ISA bus
(or when -no-acpi is called).

So the trick to getting the NIC driver into Solaris 10x86 is to call QEMU with
the DU.img as hdd.  Then once Solaris is booted, you do the following:

mount -F pcfs /dev/dsk/c1d1p0:c /mnt
cd /mnt/DU/210/i86pc/Product
cp ni.Z /var/tmp
uncompress ni.Z
cpio -idvm < ni
pkgadd  -d . CSWni

At this point, it's probably easier just to do a sys-unconfig so that Solaris 
10/x86 with
redo it's networking for DHCP.   (tun/tap support is not in qemu for Solaris 
yet)

HTH,

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]