Re: [kvm-devel] Clock running at double speed in guest

2007-01-28 Thread Dor Laor
>Tim Chen wrote: >> I notice that when I am testing kvm, the clock on guest is running at >> twice the speed. Same thing also happen using qemu without kvm. >> >> I look at my wall clock when I issue the command "time sleep 30". When >> the command returns and report 30 sec has elasped, I found t

Re: [kvm-devel] KVM performance

2007-01-28 Thread Avi Kivity
Rusty Russell wrote: > On Sat, 2007-01-27 at 10:34 +0200, Avi Kivity wrote: > >> In addition, quite a few performance optimizations are missing from kvm: >> > > Hi Avi! > > Just thought I'd share my experience with some of these optimizations > in lguest. I use virtbench (http://ozla

Re: [kvm-devel] [PATCH] KVM: 'asm' operand has impossible constraints

2007-01-28 Thread Avi Kivity
Paweł Sikora wrote: > On Saturday 27 of January 2007 10:05:53 Avi Kivity wrote: > > >> "g" appears to be equivalent to "rmi", if "i" is impossible, gcc is free >> to use "r" or "m", no? >> > > `r' > A register operand is allowed provided that it is in a general > register. > `g' >

Re: [kvm-devel] [PATCH] KVM: 'asm' operand has impossible constraints

2007-01-28 Thread Avi Kivity
S.Çağlar Onur wrote: > 27 Oca 2007 Cts tarihinde, Avi Kivity şunları yazmıştı: > >> The patch looks correct, but I don't understand the gcc error message. >> Are we sure this isn't a gcc 4.2 bug? >> >> "g" appears to be equivalent to "rmi", if "i" is impossible, gcc is free >> to use "r" or "m"

[kvm-devel] [RFT] kvm host suspend/resume

2007-01-28 Thread Avi Kivity
I've committed kvm support for host suspend-to-disk (and hopefully resume too). This means you can suspend your machine with running vms, and resume it later will all vms returning to the saved state. This should please laptop owners. The big ironers should also be happy as support for host c

[kvm-devel] Guest support status page

2007-01-28 Thread Avi Kivity
I added a page on the wiki to track the status of various guest operating systems, and seeded it with my usual testcases. Please add your favorite guests to the page so others can see at a glance what works and what doesn't. Please mention any workarounds (e.g. for the big real mode problems)

[kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Waba
Hello, I tried to install Solaris 10 under KVM, without success, so Avi told me to post the details here. My CPU is an AMD X2, and I am using KVM trunk on a 2.6.19.2, started with the following command-line: kvm -hda solaris.qcow -cdrom sol-10-u3-ga-x86-dvd.iso -boot d -m 512 -no-acpi (I tried

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Michael Riepe
Hi! Waba wrote: > I tried to install Solaris 10 under KVM, without success, so Avi told me > to post the details here. My CPU is an AMD X2, and I am using KVM trunk > on a 2.6.19.2, started with the following command-line: > > kvm -hda solaris.qcow -cdrom sol-10-u3-ga-x86-dvd.iso -boot d -m 51

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Michael Riepe
Hi! Avi Kivity wrote: > I added a page on the wiki to track the status of various guest > operating systems, and seeded it with my usual testcases. You should add a column for the host CPU. It really makes a difference in some cases. -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each m

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Fabian Deutsch
Hey, > > Avi Kivity wrote: > > I added a page on the wiki to track the status of various guest > > operating systems, and seeded it with my usual testcases. > > You should add a column for the host CPU. It really makes a difference > in some cases. > Maybe there should also be a colum for the

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Avi Kivity
Fabian Deutsch wrote: > Hey, > > >> Avi Kivity wrote: >> >>> I added a page on the wiki to track the status of various guest >>> operating systems, and seeded it with my usual testcases. >>> >> You should add a column for the host CPU. It really makes a difference >> in some cases.

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Avi Kivity
Michael Riepe wrote: > Hi! > > Avi Kivity wrote: > >> I added a page on the wiki to track the status of various guest >> operating systems, and seeded it with my usual testcases. >> > > You should add a column for the host CPU. It really makes a difference > in some cases. > > Makes sen

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Fabian Deutsch
Avi Kivity wrote: > Fabian Deutsch wrote: > > Hey, > > > > > >> Avi Kivity wrote: > >> > >>> I added a page on the wiki to track the status of various guest > >>> operating systems, and seeded it with my usual testcases. > >>> > >> You should add a column for the host CPU. It really

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Avi Kivity
Fabian Deutsch wrote: > Well currently I'm using Fedora Core 6 as a host. And kvm doesn't work with > all but the original kernel. > > title Fedora Core (2.6.19-1.2895.fc6) <-- Doesn't > title Fedora Core (2.6.18-1.2869.fc6) <-- Doesn't > title Fedora Core (2.6.18-1.2798.fc6) <-- Works > > I am c

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Waba
On Sun, Jan 28, 2007 at 06:38:20PM +0100, Michael Riepe wrote: > -no-acpi should not be necessary for Solaris/x86. Ok. > I've seen SIGILLs on AMD (Opteron 8218) as well. It worked on an Intel > CPU, however. > > Is your host running in 32 or 64 bit mode? I used 64 bit mode (host OS > was SLES 10)

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Fabian Deutsch
Am Sonntag, den 28.01.2007, 20:16 +0200 schrieb Avi Kivity: > Fabian Deutsch wrote: > > Well currently I'm using Fedora Core 6 as a host. And kvm doesn't work with > > all but the original kernel. > > > > title Fedora Core (2.6.19-1.2895.fc6) <-- Doesn't > > title Fedora Core (2.6.18-1.2869.fc6)

Re: [kvm-devel] Guest support status page

2007-01-28 Thread Avi Kivity
Fabian Deutsch wrote: > Am Sonntag, den 28.01.2007, 20:16 +0200 schrieb Avi Kivity: > >> Fabian Deutsch wrote: >> >>> Well currently I'm using Fedora Core 6 as a host. And kvm doesn't work with >>> all but the original kernel. >>> >>> title Fedora Core (2.6.19-1.2895.fc6) <-- Doesn't >>>

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Avi Kivity
Waba wrote: > Now, how to reproduce my setup: > - Browse http://www.sun.com/software/solaris/get.jsp > - Click "Download Solaris 10" > - If asked for a user/pass, use bugmenot0/bugmenot (or make your own > account) > - Select the medium at the top of the page. You can reproduce this bug > using

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Anthony Liguori
Avi Kivity wrote: > Waba wrote: >> Now, how to reproduce my setup: >> - Browse http://www.sun.com/software/solaris/get.jsp >> - Click "Download Solaris 10" >> - If asked for a user/pass, use bugmenot0/bugmenot (or make your own >> account) >> - Select the medium at the top of the page. You can re

Re: [kvm-devel] [PATCH] KVM: 'asm' operand has impossible constraints

2007-01-28 Thread H. Peter Anvin
S.Çağlar Onur wrote: > > "g" means "r"+"i" so the register allocator in the -O0 case is selecting "r" > while in the optimize case is selecting "i" > "g" means "rmi", not "ri". -hpa - Take Surveys. Earn Cash. Infl

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-01-28 Thread Waba
On Sun, Jan 28, 2007 at 09:27:26PM +0200, Avi Kivity wrote: > The qemu BIOS complains that it can't boot from the CDROM > (sol-10-u3-ga-x86-v1.iso). This happens with and without kvm. Do I > need some other image? > > 'file' says: > /data/images/solaris/sol-10-u3-ga-x86-v1.iso: ISO 9660 CD-ROM

Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-01-28 Thread dormando
Avi Kivity wrote: > I've committed kvm support for host suspend-to-disk (and hopefully > resume too). This means you can suspend your machine with running vms, > and resume it later will all vms returning to the saved state. This > should please laptop owners. > > The big ironers should also

[kvm-devel] OpenSolaris and Nexenta installs

2007-01-28 Thread dormando
Hey, Not having much luck installing OpenSolaris guests. I'm trying OpenSolaris Community edition DVD install, and Nexenta Alpha 6 (elatte_installcd_alpha6_i386.iso sol-nv-b54-x86-dvd.iso). First, if I start them with 128 megabytes of ram, I get a vmexit error; unhandled vm exit: 0x9 rax 000