Re: [kvm-devel] [PATCH] Enhance libkvm Makefile

2006-11-02 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> diff -r ca0347086805 Makefile >> --- a/Makefile Thu Nov 02 18:59:50 2006 -0600 >> +++ b/Makefile Thu Nov 02 19:00:05 2006 -0600 >> @@ -1,12 +1,11 @@ >> >> -KERNELDIR = ../kernel >> +KERNELDIR ?= ../kernel >> +PREFIX ?= /usr/local >> >

[kvm-devel] [PATCH 7/7] Allow KVM from a normal QEMU binary

2006-11-02 Thread Anthony Liguori
This patch depends on patch 6 and modifies the KVM changes to be an "accelerator" for QEMU in much the same way kqemu is. The basic idea was to introduce a use_kvm flag in CPUState and, where appropriate, check for use_kvm before doing KVM specific things. There are a number of places where a

[kvm-devel] [PATCH 6/7] KVM changes for QEMU

2006-11-02 Thread Anthony Liguori
This is the meat. This patch is adapted from Avi's original patch. The only changes are some minor whitespace cleanups to reduce the patch size. Regards, Anthony Liguori diff -r 0890f554d752 Makefile.target --- a/Makefile.target Thu Nov 02 20:48:17 2006 -0600 +++ b/Makefile.target Thu Nov 02

[kvm-devel] [PATCH 5/7] VMDK Snapshot Support

2006-11-02 Thread Anthony Liguori
This is from Avi's original patch. It implements snapshot support for VMDK disk images. It's not directly related to KVM but it's included here for completeness. Regards, Anthony Liguori diff -r 1e79f1fb1c91 Makefile --- a/Makefile Thu Nov 02 19:04:46 2006 -0600 +++ b/Makefile Thu Nov 02 19:

[kvm-devel] [PATCH 4/7] gdbstub for x86-64

2006-11-02 Thread Anthony Liguori
This is from Avi's original patch. Enables gdbstub for x86-64. Regards, Anthony Liguori diff -r 439455affc9a gdbstub.c --- a/gdbstub.c Thu Nov 02 19:13:52 2006 -0600 +++ b/gdbstub.c Thu Nov 02 19:14:35 2006 -0600 @@ -185,7 +185,141 @@ static int put_packet(GDBState *s, char return 0; }

[kvm-devel] [PATCH 3/7] Timer save/restore fix

2006-11-02 Thread Anthony Liguori
This is also in QEMU CVS. Regards, Anthony Liguori diff -r dd0c57d03fb3 vl.c --- a/vl.c Thu Nov 02 19:13:06 2006 -0600 +++ b/vl.c Thu Nov 02 19:13:41 2006 -0600 @@ -822,6 +822,7 @@ static void timer_save(QEMUFile *f, void } qemu_put_be64s(f, &cpu_ticks_offset); qemu_put_be64s(f, &

[kvm-devel] [PATCH 2/7] APIC save/restore fix

2006-11-02 Thread Anthony Liguori
This apparently is already in QEMU CVS. Regards, Anthony Liguori diff -r 7b36a6ae02f3 hw/apic.c --- a/hw/apic.c Thu Nov 02 19:09:11 2006 -0600 +++ b/hw/apic.c Thu Nov 02 19:10:38 2006 -0600 @@ -745,6 +745,8 @@ static void apic_save(QEMUFile *f, void qemu_put_be32s(f, &s->initial_count);

[kvm-devel] [PATCH 1/7] Compile fix for usb-linux.c

2006-11-02 Thread Anthony Liguori
Simple patch adopted from Xen. Regards, Anthony Liguori diff -r 66fbe7668f97 usb-linux.c --- a/usb-linux.c Thu Nov 02 18:57:17 2006 -0600 +++ b/usb-linux.c Thu Nov 02 18:57:40 2006 -0600 @@ -26,7 +26,9 @@ #if defined(__linux__) #include #include -#include +#ifndef __user +#define __user +#

[kvm-devel] [PATCH 0/7] Split up QEMU patches

2006-11-02 Thread Anthony Liguori
This patch series splits up the qemu-kvm-1.patch into a series of patches. The goal is to isolate the KVM changes from general cleanup in order to simplify upstream submission. The final patch in the series also adds the ability to use KVM within a normal QEMU binary. Regards, Anthony Liguor

Re: [kvm-devel] [RFC] QEMU KVM Patch Queue

2006-11-02 Thread Avi Kivity
Anthony Liguori wrote: > Howdy, > > In an attempt to help prepare KVM's QEMU changes for upstream > submission, I spent some time this evening splitting apart the > qemu-kvm-1.patch available on sf.net. Thanks, this is very useful! > I've split them up into: > > apic-save-restore.diff - apic s

Re: [kvm-devel] [PATCH] Enhance libkvm Makefile

2006-11-02 Thread Avi Kivity
Anthony Liguori wrote: > The attached patch allows for DESTDIR/PREFIX to be used with the > libkvm Makefile as one may expect the should be used. Also, it lets > KERNELDIR be specified. > Thanks, this is useful. > Regards, > > Anthony Liguori > > Signed-off-by: Anthony Liguori <[EMAIL PROTECT

[kvm-devel] [RFC] QEMU KVM Patch Queue

2006-11-02 Thread Anthony Liguori
Howdy, In an attempt to help prepare KVM's QEMU changes for upstream submission, I spent some time this evening splitting apart the qemu-kvm-1.patch available on sf.net. I've split them up into: usb-linux.diff - linux/compiler.h fix vmdk-snapshot.diff - vmdk snapshot support apic-save-restore

[kvm-devel] [PATCH] Enhance libkvm Makefile

2006-11-02 Thread Anthony Liguori
The attached patch allows for DESTDIR/PREFIX to be used with the libkvm Makefile as one may expect the should be used. Also, it lets KERNELDIR be specified. Regards, Anthony Liguori Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff -r ca0347086805 Makefile --- a/Makefile Thu Nov 02 18:

Re: [kvm-devel] [ANNOUNCE] kvm howto

2006-11-02 Thread Avi Kivity
Magnus Damm wrote: >> >> You need a newer binutils. I'm using binutils-2.16.91.0.6 (gotta love >> that version number), shipped with Fedora Core 5. > > The VT-extensions added by Intel and AMD only adds a limited number of > instructions each. If you want to be user friendly it might be a good > i

Re: [kvm-devel] [ANNOUNCE] kvm howto

2006-11-02 Thread Magnus Damm
On 11/2/06, Avi Kivity <[EMAIL PROTECTED]> wrote: > Hesse, Christian wrote: > > On Thursday 02 November 2006 14:25, Avi Kivity wrote: > > > >> I've just uploaded a HOWTO to http://kvm.sourceforge.net, including > >> (hopefuly) everything needed to get kvm running. Please take a look and > >> comme

Re: [kvm-devel] [ANNOUNCE] kvm howto

2006-11-02 Thread Hesse, Christian
On Thursday 02 November 2006 14:25, Avi Kivity wrote: > I've just uploaded a HOWTO to http://kvm.sourceforge.net, including > (hopefuly) everything needed to get kvm running. Please take a look and > comment. CC [M] /tmp/kvm-module/kvm_main.o {standard input}: Assembler messages: {standard inp

Re: [kvm-devel] [ANNOUNCE] kvm howto

2006-11-02 Thread Avi Kivity
Hesse, Christian wrote: > On Thursday 02 November 2006 14:25, Avi Kivity wrote: > >> I've just uploaded a HOWTO to http://kvm.sourceforge.net, including >> (hopefuly) everything needed to get kvm running. Please take a look and >> comment. >> > > CC [M] /tmp/kvm-module/kvm_main.o > {sta

[kvm-devel] [ANNOUNCE] kvm howto

2006-11-02 Thread Avi Kivity
I've just uploaded a HOWTO to http://kvm.sourceforge.net, including (hopefuly) everything needed to get kvm running. Please take a look and comment. BTW, we have the AMD port running with fairly impressive performance. -- error compiling committee.c: too many arguments to function -