Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Dor Laor
>> > This series incorporates all of v1 plus the following changes based >on >> > feedback to date: >> > >> >> Are you positioning this as an alternative to virtio? If so, be aware >> that virtio is (a) mostly done (b) very well done. >> >> Can you describe what you are trying to achieve that virt

Re: [kvm-devel] a few may be wiki question

2007-08-15 Thread Farkas Levente
Avi Kivity wrote: > There are two answers to this: > > - balloon driver (like in Xen) which allows the host to move memory from > one guest to another (or from host to guest) > - swapping, which allows the host to move guest memory to disk and > allocate it to another guest > > Unfortunately the

Re: [kvm-devel] a few may be wiki question

2007-08-15 Thread Avi Kivity
Farkas Levente wrote: > Avi Kivity wrote: > >> There are two answers to this: >> >> - balloon driver (like in Xen) which allows the host to move memory from >> one guest to another (or from host to guest) >> - swapping, which allows the host to move guest memory to disk and >> allocate it to ano

[kvm-devel] [ANNOUNCE] kvm-35 release

2007-08-15 Thread Avi Kivity
kvm-35 refuses to load on Intel Core (not Core 2) processors, so this release is mainly to fix that unhappy regression. Changes since kvm-34: - fix kvm refusing to load on Core processors (Glauber de Oliveira Costa) - improve qemu monitor handling CR/LF sequences (Jim Paris) - fix compile warning

Re: [kvm-devel] [ANNOUNCE] kvm-35 release

2007-08-15 Thread Avi Kivity
Avi Kivity wrote: > kvm-35 refuses to load on Intel Core (not Core 2) processors, so this > release is mainly to fix that unhappy regression. > > Changes since kvm-34: > - fix kvm refusing to load on Core processors (Glauber de Oliveira Costa) > - improve qemu monitor handling CR/LF sequences (Jim

[kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Slohm Gadaburi
hi ppl, I am grateful for the help and tips I've been given here on the earlier thread. I just want to summarize the bits I've collected, please confirm :) On an up-to-date Ubuntu 7.04 machine: - install kvm+qemu packages - install the gcc-3.4 package (hopefully it will not overwrite my gcc 4.x ?

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Koen de Jonge (ProcoliX)
Slohm Gadaburi wrote: > hi ppl, > > I am grateful for the help and tips I've been given here on the earlier > thread. > I just want to summarize the bits I've collected, > please confirm :) > > On an up-to-date Ubuntu 7.04 machine: > - install kvm+qemu packages > - install the gcc-3.4 package (hope

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-15 Thread Izik Eidus
On Tue, 2007-08-14 at 17:21 -0500, Ryan Harper wrote: > So, I don't think passing the structure as a pointer works. The 16-bit > compiler bcc has a number of quirks. I don't pretend to understand what > the issue is here, but, changing the signature of set_e820_range() to: > > void set_e820_rang

Re: [kvm-devel] a few may be wiki question

2007-08-15 Thread Gregory Haskins
On Wed, 2007-08-15 at 11:07 +0300, Avi Kivity wrote: > Farkas Levente wrote: > > this rise another question if swapping will be used the it moves the > > guest memory to the guest's swap or the host's swap? if to the host's > > swap then this implies i should have to allocate large enough swap for

[kvm-devel] [patch] Renaming kvm_arch in view of upcoming architecture ports

2007-08-15 Thread Christian Ehrhardt
Hi, in view of the upcoming architecture ports, this is a little cleanup patch that renames the current "_arch" to "_x86" e.g. kvm_arch_ops -> kvm_x86_ops I discussed with some people about names like kvm_x86_arch_ops or kvm_subarch_ops, ... but at the end we thought that "arch" has a special

Re: [kvm-devel] a (bad) kvm story from a plain user

2007-08-15 Thread Daniel P. Berrange
On Wed, Aug 15, 2007 at 01:43:58AM -0300, Jorge Luc?ngeli Obes wrote: > On 8/15/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 14, 2007 at 10:26:24PM -0500, Anthony Liguori wrote: > > > > > > On Wed, 2007-08-15 at 05:44 +0300, Avi Kivity wrote: > > > > Slohm Gadaburi wrote: > > >

Re: [kvm-devel] [patch] Renaming kvm_arch in view of upcoming architecture ports

2007-08-15 Thread Avi Kivity
Christian Ehrhardt wrote: > Hi, > in view of the upcoming architecture ports, this is a little cleanup > patch that renames the current "_arch" to "_x86" > e.g. kvm_arch_ops -> kvm_x86_ops > > I discussed with some people about names like kvm_x86_arch_ops or > kvm_subarch_ops, ... but at the end

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Gregory Haskins
On Wed, 2007-08-15 at 00:52 -0700, Dor Laor wrote: > If the above is followed, any enhancement will be appriciated. Since I am close, I will probably make at least one more v3 drop "as is" with the new lguest_bus inspired pvbus (with hotplug, etc). From there, we can (virtually) get together and

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Gregory Haskins
On Wed, 2007-08-15 at 00:13 -0400, Gregory Haskins wrote: > On Wed, 2007-08-15 at 06:58 +0300, Avi Kivity wrote: > > since it wants to be hypervisor agnostic, it cannot specify an ABI (as > > some already have ABIs, for example Xen). > > I see, and that is a good point. By only being an API, vir

Re: [kvm-devel] a few may be wiki question

2007-08-15 Thread Farkas Levente
Gregory Haskins wrote: > On Wed, 2007-08-15 at 11:07 +0300, Avi Kivity wrote: >> Farkas Levente wrote: >>> this rise another question if swapping will be used the it moves the >>> guest memory to the guest's swap or the host's swap? if to the host's >>> swap then this implies i should have to alloc

[kvm-devel] Again the rtc: lost some interrupts at 1024Hz

2007-08-15 Thread Daniel Paquet
Well im still playing with this darn error, and in fact I am even starting to think that this is my cause of kicker crash. Im getting my logs filled with rtc: lost some interrupts at 1024Hz when I sed the max freq to 1024 as per request of kvm when I start it. Im running debian Lenny and a vanilla

Re: [kvm-devel] a few may be wiki question

2007-08-15 Thread Gregory Haskins
On Wed, 2007-08-15 at 15:52 +0200, Farkas Levente wrote: > Gregory Haskins wrote: > > > > On thing that is interesting about this (to me) is that, in a way it > > kind of is a "poor mans" swap for the guests memory on the host. E.g. > > you could give your guests a really small amount of "physica

[kvm-devel] [PATCH 1/2]Fix CR8 support in kvm

2007-08-15 Thread Yang, Sheng
These two patches fix CR8 support for x64 Windows. Now when writing to CR8 in the guest OS, we exit to userspace and update tpr in qemu apic emulation. We can boot x64 Windows XP with these patches now. Signed-off-by: Sheng Yang <[EMAIL PROTECTED]> --- drivers/kvm/vmx.c |3 ++- include/linu

[kvm-devel] [PATCH 2/2]Fix CR8 support in kvm-userspace

2007-08-15 Thread Yang, Sheng
Signed-off-by: Sheng Yang <[EMAIL PROTECTED]> --- qemu/qemu-kvm.c |3 ++- user/kvmctl.c |7 +++ user/kvmctl.h | 11 +++ 3 files changed, 20 insertions(+), 1 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index e23f477..59cba64 100644 --- a/qemu/qemu-kvm.c ++

Re: [kvm-devel] a (bad) kvm story from a plain user

2007-08-15 Thread Jorge Lucángeli Obes
On 8/15/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > On Wed, Aug 15, 2007 at 01:43:58AM -0300, Jorge Luc?ngeli Obes wrote: > > On 8/15/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > > Just today I was trying virt-manager and libvirt. I got this error > > when creating a VM: > > > > Unab

Re: [kvm-devel] [PATCH] Dynamic ticks

2007-08-15 Thread Dan Kenigsberg
Thank you (Luca and Thiemo) for your prompt review and comments! On Tue, Aug 14, 2007 at 12:06:20AM +0100, Thiemo Seufer wrote: > Luca Tettamanti wrote: > [snip] > > I've implemented some of my suggestions in the following patch - rebased > > to kvm-userspace current git since it's easier to test

Re: [kvm-devel] [PATCH] Dynamic ticks

2007-08-15 Thread Dan Kenigsberg
On Mon, Aug 13, 2007 at 10:37:41PM +0200, Luca Tettamanti wrote: > > I like it ;) I have some comments (and a reworked patch at the end): > And thanks a lot for that. > > Plus, in this way you change the behaviour from "always try RTC under > Linux" to "don't use RTC is dynticks is enabled". >

[kvm-devel] [PATCH] hint your using kvm

2007-08-15 Thread Matthew Kent
Signed-off-by: Matthew Kent <[EMAIL PROTECTED]> --- qemu/vnc.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/qemu/vnc.c b/qemu/vnc.c index 37d5e35..4430651 100644 --- a/qemu/vnc.c +++ b/qemu/vnc.c @@ -1109,8 +1109,16 @@ static int protocol_client_init(VncStat

Re: [kvm-devel] [PATCH] Dynamic ticks

2007-08-15 Thread Dor Laor
>> I like it ;) I have some comments (and a reworked patch at the end): >> > >And thanks a lot for that. > >> >> Plus, in this way you change the behaviour from "always try RTC under >> Linux" to "don't use RTC is dynticks is enabled". >> Is this what you really want? > >I don't know whether this i

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-15 Thread Glauber de Oliveira Costa
> > commit 2863174b39dd8768cd7922832e45ea00d5c6442c > > Author: Glauber de Oliveira Costa <[EMAIL PROTECTED]> > > Date: Tue Aug 14 15:51:22 2007 -0300 > > Author email is misconfigured... > > Thanks for noting, Avi. I didn't wrote this patch in my usual test machine, but in my t60. (you could tel

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-15 Thread Segher Boessenkool
>>> When I read Avi's TODO, I basically thought about getting rid of the >>> long command lines I had to store in scripts. I wanted to write that >>> command line once, and then forgetting about it, until I needed to >>> change it. >> >> Instead of inventing great and wonderfully complicated scheme

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Cam Macdonell
Koen de Jonge (ProcoliX) wrote: > Slohm Gadaburi wrote: >> hi ppl, >> >> I am grateful for the help and tips I've been given here on the earlier >> thread. >> I just want to summarize the bits I've collected, >> please confirm :) >> >> On an up-to-date Ubuntu 7.04 machine: >> - install kvm+qemu pac

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Jorge Lucángeli Obes
On 8/15/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > Koen de Jonge (ProcoliX) wrote: > > Slohm Gadaburi wrote: > >> hi ppl, > >> > >> I am grateful for the help and tips I've been given here on the earlier > >> thread. > >> I just want to summarize the bits I've collected, > >> please confirm :)

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Dor Laor
>Since I am close, I will probably make at least one more v3 drop "as is" >with the new lguest_bus inspired pvbus (with hotplug, etc). From there, >we can (virtually) get together and figure out what can be used >directly, what can be used in spirit, and what should be thrown away. Sure thing. >

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Jorge Lucángeli Obes
> Thanks for the help, that compiled the userspace part. I need the new > kernel module (kvm-intel.ko), can I take it from the kernel tree some > way or do I have to use the whole KVM kernel? You should be able to compile it without having to compile the whole kernel. That's what one does with r

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Luca
On 8/16/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > Koen de Jonge (ProcoliX) wrote: > > Slohm Gadaburi wrote: > >> hi ppl, > >> > >> I am grateful for the help and tips I've been given here on the earlier > >> thread. > >> I just want to summarize the bits I've collected, > >> please confirm :)

[kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Jorge Lucángeli Obes
I've been giving some thought to Anthony's idea: http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage However, maybe I'm just too much on vacations, but I don't seem to come up with a nice way of doing this. Everything keeps coming back to creating a new 'container' image format and th

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Cam Macdonell
Jorge Lucángeli Obes wrote: > On 8/15/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: >> Koen de Jonge (ProcoliX) wrote: >>> Slohm Gadaburi wrote: hi ppl, I am grateful for the help and tips I've been given here on the earlier thread. I just want to summarize the bits I've col

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Gregory Haskins
On Wed, 2007-08-15 at 15:37 -0700, Dor Laor wrote: > > If you'll be quick enough you can rip the lguest_bus into a very light > weight > virtio_bus. Please keep it thin as possible, Rusty's code is 217 lines > long, half > of it comments. I'm planing to have a flexible use of this bus while one >

Re: [kvm-devel] [Qemu-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Mark Williamson
> I've been giving some thought to Anthony's idea: > > http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage > > However, maybe I'm just too much on vacations, but I don't seem to > come up with a nice way of doing this. Everything keeps coming back to > creating a new 'container' image f

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-15 Thread Rusty Russell
On Wed, 2007-08-15 at 00:52 -0700, Dor Laor wrote: > btw: Rusty, I tried to apply the new-io-lguest* patches and they failed > to apply cleanly. > What base repo do you use for that? Sorry, with all the movement of getting lguest in tree, those patches have rotted slightly (particularly the new-io

Re: [kvm-devel] [Patch] (big) real mode emulation - jmp rel

2007-08-15 Thread Nitin A Kamble
Hi Avi, I modified the patch as per your suggestions. Attached is the update patch for the "jmp rel" instruction. Also the "jmp rel short" patch would go on top of it. Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation ---

[kvm-devel] KVM Test result, kernel 83aecfbf.. , userspace 108ccc34.

2007-08-15 Thread Zhao, Yunfeng
Hi, all, This is today's KVM test result against kvm.git 83aecfbf44f3ba92abde47957a3c9175f1ec7165 and kvm-userspace.git 108ccc346fa8fc226a8fcdba91387554d7b35709. ##What's working: Can boot most ia32/ia32e SMP/UP Linux guests with either acpi enabled or acpi disabled. Can boot ia32 SMP/UP Win

Re: [kvm-devel] CPU consumption for SMP windows guests.

2007-08-15 Thread Jorge Lucángeli Obes
On 8/14/07, Igor Lvovsky <[EMAIL PROTECTED]> wrote: > I attached the patch for BOCHS bios and compiled bios.bin. Good work! I'm getting considerably less load on my Windows XP SMP guest. - This SF.net email is sponsored by: S

[kvm-devel] It uses the functionality of the associated, but independent, DCDSERVE.

2007-08-15 Thread master Altshuler
T h'i's g'e+m is reall,y mo*vabl.e!! T.h-i_s o n.e is reall y p_rofi,table!!! H_a_v_e y+o.u b.e_e+n watc__hing t.h,i*s f-o-r t+h e l,a+s-t w+e,e.k_? T.a-k-e a l o+o_k at it: rec'ent n e*w's rel -eases s-e,n_t g,en.erating gr_owing inter_*est in C,Y.T+V Com,pan.y: CHI+NA YO_UTV C'O*R.P ('O

Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread H. Peter Anvin
Jorge Lucángeli Obes wrote: > > The '#!' trick works nice with scripts, but I don't see it playing > very well with images. ¿Comments? ¿Pointers? > Well, you can make it work with a header (you just have to pad it out to a fixed length or use a variable-offset format), but binfmt_misc might be a

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Avi Kivity
Jorge Lucángeli Obes wrote: >> Thanks for the help, that compiled the userspace part. I need the new >> kernel module (kvm-intel.ko), can I take it from the kernel tree some >> way or do I have to use the whole KVM kernel? >> > > You should be able to compile it without having to compile the

Re: [kvm-devel] [Qemu-devel] Re: Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Avi Kivity
H. Peter Anvin wrote: > Jorge Lucángeli Obes wrote: > >> The '#!' trick works nice with scripts, but I don't see it playing >> very well with images. ¿Comments? ¿Pointers? >> >> > > Well, you can make it work with a header (you just have to pad it out to > a fixed length or use a variable-o

[kvm-devel] Makefiles (was: kvm for Ubuntu 7.04)

2007-08-15 Thread Jorge Lucángeli Obes
On 8/16/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Jorge Lucángeli Obes wrote: > >> Thanks for the help, that compiled the userspace part. I need the new > >> kernel module (kvm-intel.ko), can I take it from the kernel tree some > >> way or do I have to use the whole KVM kernel? > >> > > > > You

Re: [kvm-devel] Makefiles (was: kvm for Ubuntu 7.04)

2007-08-15 Thread Avi Kivity
Jorge Lucángeli Obes wrote: > On 8/16/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > >> Jorge Lucángeli Obes wrote: >> Thanks for the help, that compiled the userspace part. I need the new kernel module (kvm-intel.ko), can I take it from the kernel tree some way or do I have t

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Slohm Gadaburi
hi.. so I've compiled kvm-35 on Ubuntu 7.04. i really had NO troubles, thanks to Koen and his great apt-get list. and indeed now when I was running, I had the "QEMU\KVM" banner. so I reinstalled RH9.0. On 8/15/07, Koen de Jonge (ProcoliX) <[EMAIL PROTECTED]> wrote: > Please let us know the resul

Re: [kvm-devel] Makefiles (was: kvm for Ubuntu 7.04)

2007-08-15 Thread Jorge Lucángeli Obes
On 8/16/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > What's wrong with -g? Code/executable size... never mind. Thinking about it, it's probably better to have those debugging symbols there anyways. Cheers, Jorge - This SF.net

Re: [kvm-devel] [Qemu-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Avi Kivity
Mark Williamson wrote: >> I've been giving some thought to Anthony's idea: >> >> http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage >> >> However, maybe I'm just too much on vacations, but I don't seem to >> come up with a nice way of doing this. Everything keeps coming back to >> crea

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Jorge Lucángeli Obes
> maybe if i could slip in a last question - can I share a folder between the > host > and the guest ? If you use -net user (which is the default) and you have Samba installed in the host, you can use -smb and see that folder in: \\10.0.2.4\qemu Check QEMU command line options: -tftp prefix

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Avi Kivity
Jorge Lucángeli Obes wrote: >> maybe if i could slip in a last question - can I share a folder between the >> host >> and the guest ? >> > > If you use -net user (which is the default) and you have Samba > installed in the host, you can use -smb > and see that folder in: > > \\10.0.2.4\qemu