[kvm-devel] [PATCH]kvm/qemu

2008-01-03 Thread Zhang, Xiantao
>From 49f958530791c3adcf2ceca922b890bffe62e848 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Thu, 3 Jan 2008 13:42:40 +0800 Subject: [PATCH] kvm: qemu/ia64: Set the number of max virtual processor to 4 for ia64 Set max number of virtual processors to 4 for ia64 Signed-off-

[kvm-devel] [ANNOUNCE] kvm-59 release

2008-01-03 Thread Avi Kivity
This release greatly improves the performance of smp guests. Desktops users may also enjoy support for widescreen resolutions. Changes from kvm-58: - merge qemu-cvs - -drive cache=[on|off] option - adds scsi passthrough - ide lba48 support for 120GB+ disk images - widescreen resolutions fo

[kvm-devel] [PATCH] Qemu : Add the check before reading guest firmware

2008-01-03 Thread Zhang, Xiantao
>From 1099b09bcdde9a80c5b0383cd063af6ad9ca18e5 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Thu, 3 Jan 2008 17:22:36 +0800 Subject: [PATCH] kvm: qemu : Add check for guest firmware. Add the existence check before reading the image. Signed-off-by: Zhang Xiantao <[EMAIL PRO

Re: [kvm-devel] New to KVM

2008-01-03 Thread Avi Kivity
Balaji Rao wrote: > Hello people! > > I am new to the KVM community. I found it really exciting and am interested > in > contributing to the project. I found a TODO list at the site and decided to > work on the following one. > > "Add a qemu interface for sharing memory between guests. Using a

[kvm-devel] [PATCH] use rtl8139 as default network adapter

2008-01-03 Thread Guido Guenther
On Fri, Dec 28, 2007 at 10:53:53PM +0200, Izik Eidus wrote: > Guido Guenther wrote: [..snip..] >> kvm-58 doesn't show this problem, thanks! The host runs stable now. >> I'm still seeing network stalls on large transfers in the guest though. >> Ifup/ifdown'ing the interface in the guest gets things

Re: [kvm-devel] [PATCH 2/2] Add QEMU support for extboot

2008-01-03 Thread Avi Kivity
Anthony Liguori wrote: > This patch adds support to QEMU for extboot. It requires that an extboot.bin > binary be copied into the pc-bios directory or else make install will not > function properly. > > To use extboot to boot from an arbitrary block device, simply append a > ",boot=on" to the bloc

Re: [kvm-devel] KVM-58 -- existing VM just hangs with black screen

2008-01-03 Thread Avi Kivity
Jeremy Katz wrote: On Wed, 2008-01-02 at 19:13 +0200, Avi Kivity wrote: Can you try the option '-no-kvm' both with kvm-57 and kvm-58? -no-kvm works. I can hit this just booting a live CD both on a 32bit and a 64bit host. It looks like compatibility with old kernels is broken (the kvm

Re: [kvm-devel] virtio module backport

2008-01-03 Thread Avi Kivity
Anthony Liguori wrote: > Hi, > > I've posted a repo that contains my initial attempt at backporting the > virtio modules. I've tested against a 2.6.22, 2.6.20, and 2.6.18 kernel > (although I haven't tried the block device against 2.6.18). It requires > Rusty's patch queue plus the three patch

Re: [kvm-devel] [PATCH] use rtl8139 as default network adapter

2008-01-03 Thread Avi Kivity
Guido Guenther wrote: > On Fri, Dec 28, 2007 at 10:53:53PM +0200, Izik Eidus wrote: > >> Guido Guenther wrote: >> > [..snip..] > >>> kvm-58 doesn't show this problem, thanks! The host runs stable now. >>> I'm still seeing network stalls on large transfers in the guest though. >>> Ifup/i

[kvm-devel] when XP reboots I loose network

2008-01-03 Thread Jerry Geis
Dont know if this has been covered before... When I boot XP everthing works fine. When I reboot XP I loose my network connection. Everthing else continues to work. I have a centos 5.1 host AMD X2 6400+. I am using kvm-59. Jerry --

[kvm-devel] [PATCH 1/2] Add extboot to kvm-userspace (v2)

2008-01-03 Thread Anthony Liguori
extboot is an x86 Option ROM that passes through int13 functions to a VMM which allows a VMM to expose an arbitrary block device as the primary BIOS disk. It can be used to boot SCSI or paravirtual devices. Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff --git a/extboot/Makefile b/extboo

Re: [kvm-devel] [PATCH 1/3] Make virtio modules GPL

2008-01-03 Thread Anthony Liguori
Dong, Eddie wrote: > Curuious: should we consider it to be dual licensed from beginning? > AFAIK, they are GPLv2+. I think Rusty was talking about dual licensing the headers. He'll have to comment on that though. Regards, Anthony Liguori > thx,eddie > > >> -Original Message- >> Fr

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Anthony Liguori
Jerry Geis wrote: > I have kvm-amd working fine. > > when I am at my desktop everything works normal. > However, when I vncviewer into my desktop and startup my > session I mouse over the XP desktop but I cannot click in the desktop > and make it active. I get the little square mouse pointer. > > I

[kvm-devel] [PATCH 2/2] Add QEMU support for extboot (v2)

2008-01-03 Thread Anthony Liguori
This patch adds support to QEMU for extboot. It requires that an extboot.bin binary be copied into the pc-bios directory or else make install will not function properly. To use extboot to boot from an arbitrary block device, simply append a ",boot=on" to the block device to boot from. For instan

Re: [kvm-devel] [PATCH 2/2] Add QEMU support for extboot

2008-01-03 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> This patch adds support to QEMU for extboot. It requires that an >> extboot.bin >> binary be copied into the pc-bios directory or else make install will >> not >> function properly. >> >> To use extboot to boot from an arbitrary block device, simply

Re: [kvm-devel] virtio module backport

2008-01-03 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> Hi, >> >> I've posted a repo that contains my initial attempt at backporting >> the virtio modules. I've tested against a 2.6.22, 2.6.20, and 2.6.18 >> kernel (although I haven't tried the block device against 2.6.18). >> It requires Rusty's patch

Re: [kvm-devel] [PATCH 2/2] Add QEMU support for extboot (v2)

2008-01-03 Thread Avi Kivity
Anthony Liguori wrote: > This patch adds support to QEMU for extboot. It requires that an extboot.bin > binary be copied into the pc-bios directory or else make install will not > function properly. > > To use extboot to boot from an arbitrary block device, simply append a > ",boot=on" to the bloc

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Avi Kivity
Jerry Geis wrote: > I dont exactly know what SDL is. > > All I know is when I am at my desk everything is working fine... > Then I go home and use "vncviewer machine" to remote into my desktop. > Everything runs normal of course but when I select my minimized kvm session, > it maximizes but I canno

Re: [kvm-devel] [PATCH]kvm/qemu

2008-01-03 Thread Avi Kivity
Zhang, Xiantao wrote: > >From 49f958530791c3adcf2ceca922b890bffe62e848 Mon Sep 17 00:00:00 2001 > From: Zhang Xiantao <[EMAIL PROTECTED]> > Date: Thu, 3 Jan 2008 13:42:40 +0800 > Subject: [PATCH] kvm: qemu/ia64: Set the number of max virtual processor > to 4 for ia64 > > Set max number of virtual p

Re: [kvm-devel] [PATCH] Qemu : Add the check before reading guest firmware

2008-01-03 Thread Avi Kivity
Zhang, Xiantao wrote: > >From 1099b09bcdde9a80c5b0383cd063af6ad9ca18e5 Mon Sep 17 00:00:00 2001 > From: Zhang Xiantao <[EMAIL PROTECTED]> > Date: Thu, 3 Jan 2008 17:22:36 +0800 > Subject: [PATCH] kvm: qemu : Add check for guest firmware. > > Add the existence check before reading the image. > A

[kvm-devel] Fwd: kvm 58 and vncviewer

2008-01-03 Thread Javier Guerra
-- Forwarded message -- From: Javier Guerra <[EMAIL PROTECTED]> Date: Jan 3, 2008 10:45 AM Subject: Re: [kvm-devel] kvm 58 and vncviewer To: Avi Kivity <[EMAIL PROTECTED]> On 1/3/08, Avi Kivity <[EMAIL PROTECTED]> wrote: > So, you are using vncviewer to view the host desktop, and

Re: [kvm-devel] [PATCH] Add powerpc libkvm support code

2008-01-03 Thread Avi Kivity
Jerone Young wrote: > # HG changeset patch > # User Jerone Young <[EMAIL PROTECTED]> > # Date 1199304626 21600 > # Node ID 2eddb4bcae5e444ba12b2d8985e494342e505131 > # Parent 8161d444f7c37be9bdbfaac338d58301b00f2961 > Add powerpc libkvm support code > > This patch adds implimentation code need for

Re: [kvm-devel] [kvm-ppc-devel] [PATCH] Add powerpc dcr callbacks to kvm callback structrure

2008-01-03 Thread Avi Kivity
Jerone Young wrote: > That would be my sketchy idea. Though I was going to wait and see what > the feedback would be doing this :-) It can go either way. Since it's > just callbacks it really doesn't matter. But it does affect the > structure size never the less. > > So what are everyone thoughs a

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Amit Shah
On Thursday 03 January 2008 20:58:17 Jerry Geis wrote: > I dont exactly know what SDL is. > > All I know is when I am at my desk everything is working fine... > Then I go home and use "vncviewer machine" to remote into my desktop. > Everything runs normal of course but when I select my minimized kv

[kvm-devel] [PATCH] Use memset(0) instead of setting cb_mode explicitly

2008-01-03 Thread Anthony Liguori
hrtimer's only have a cb_mode if CONFIG_HIGH_RES_TIMER is enabled. This patch memset()s the tx_timer structure to 0 which has the same effect as setting cb_mode to HRTIMER_CB_SOFTIRQ without requiring CONFIG_HIGH_RES_TIMER to be set. This seems to be what other drivers do. Signed-off-by: Anthony

Re: [kvm-devel] [PATCH] Fix up kvm-powerpc.h in libkvm

2008-01-03 Thread Avi Kivity
Jerone Young wrote: > # HG changeset patch > # User Jerone Young <[EMAIL PROTECTED]> > # Date 1199306048 21600 > # Node ID da73eaf107eb8800f27e3bc045a2de28c476b07d > # Parent bf828ac70dde1dfa4f67e4774a884669306423e6 > Fix up kvm-powerpc.h in libkvm > > This patch fixes up kvm-powerpc.h. Adds prope

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Uri Lublin
Jerry Geis wrote: > Anthony Liguori wrote: > >> Jerry Geis wrote: >> >>> I have kvm-amd working fine. >>> >>> when I am at my desktop everything works normal. >>> However, when I vncviewer into my desktop and startup my >>> session I mouse over the XP desktop but I cannot click in the deskt

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Jerry Geis
Anthony Liguori wrote: > Jerry Geis wrote: >> I have kvm-amd working fine. >> >> when I am at my desktop everything works normal. >> However, when I vncviewer into my desktop and startup my >> session I mouse over the XP desktop but I cannot click in the desktop >> and make it active. I get the lit

[kvm-devel] [PATCH] system_powerdown via acpi power button

2008-01-03 Thread Guido Guenther
Hi, in order to be able to shutdown kvm cleanly with libvirt (currently libvirt simply sends a SIGTERM) I implemented system_powerdown() to simulate the pressing of a fixed feature acpi power button. The patch has one issue though, it currently needs --no-kvm-irqchip (see my other mail). Please app

Re: [kvm-devel] [PATCH 20/52] KVM: Add missing #include

2008-01-03 Thread Adrian Bunk
On Sun, Dec 30, 2007 at 09:10:06AM +0200, Avi Kivity wrote: > Needed for empty_zero_page. > > Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> > --- > drivers/kvm/kvm_main.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c

[kvm-devel] acpi sci polarity

2008-01-03 Thread Guido Guenther
On Thu, Jan 03, 2008 at 07:11:32PM +0100, Guido Guenther wrote: > simulate the pressing of a fixed feature acpi power button. The patch > has one issue though, it currently needs --no-kvm-irqchip (see my other > mail). Please apply if appropriate. When running without --no-kvm-irqchip the ACPI irq

Re: [kvm-devel] [Qemu-devel] [PATCH 2 of 3] Optionally link against libuuid if present

2008-01-03 Thread Ryan Harper
* Filip Navara <[EMAIL PROTECTED]> [2007-12-11 15:29]: > Hi Ryan & others, > > now I have been holding a SMBIOS patch on my hard disk for way to long it > seems. I used a different approach from yours, so I decided to publish it > for review or further ideas. What I did was to modify the bochs bio

Re: [kvm-devel] acpi sci polarity

2008-01-03 Thread Avi Kivity
Guido Guenther wrote: > On Thu, Jan 03, 2008 at 07:11:32PM +0100, Guido Guenther wrote: > >> simulate the pressing of a fixed feature acpi power button. The patch >> has one issue though, it currently needs --no-kvm-irqchip (see my other >> mail). Please apply if appropriate. >> > When runn

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Anthony Liguori
Jerry Geis wrote: > Anthony Liguori wrote: >> Jerry Geis wrote: >>> I have kvm-amd working fine. >>> >>> when I am at my desktop everything works normal. >>> However, when I vncviewer into my desktop and startup my >>> session I mouse over the XP desktop but I cannot click in the desktop >>> and ma

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Jerry Geis
Anthony Liguori wrote: > Jerry Geis wrote: >> Anthony Liguori wrote: >>> Jerry Geis wrote: I have kvm-amd working fine. when I am at my desktop everything works normal. However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cann

[kvm-devel] [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by #UD

2008-01-03 Thread Yang, Sheng
From 9743b5299bae1779c2b893cbeb86122bcccb9b2d Mon Sep 17 00:00:00 2001 From: Sheng Yang <[EMAIL PROTECTED]> Date: Wed, 2 Jan 2008 14:49:22 +0800 Subject: [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by #UD When executing a test program called "crashme", we found the KVM guest cannot s

Re: [kvm-devel] [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by #UD

2008-01-03 Thread Anthony Liguori
Yang, Sheng wrote: > From 9743b5299bae1779c2b893cbeb86122bcccb9b2d Mon Sep 17 00:00:00 2001 > From: Sheng Yang <[EMAIL PROTECTED]> > Date: Wed, 2 Jan 2008 14:49:22 +0800 > Subject: [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by #UD > > When executing a test program called "crashme", we

Re: [kvm-devel] [PATCH] Use memset(0) instead of setting cb_mode explicitly

2008-01-03 Thread Rusty Russell
On Friday 04 January 2008 02:57:14 Anthony Liguori wrote: > hrtimer's only have a cb_mode if CONFIG_HIGH_RES_TIMER is enabled. This > patch memset()s the tx_timer structure to 0 which has the same effect as > setting cb_mode to HRTIMER_CB_SOFTIRQ without requiring > CONFIG_HIGH_RES_TIMER to be set

Re: [kvm-devel] [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by #UD

2008-01-03 Thread Dong, Eddie
Anthony Liguori wrote: > Yang, Sheng wrote: >> From 9743b5299bae1779c2b893cbeb86122bcccb9b2d Mon Sep 17 00:00:00 >> 2001 >> From: Sheng Yang <[EMAIL PROTECTED]> >> Date: Wed, 2 Jan 2008 14:49:22 +0800 >> Subject: [PATCH] KVM: emulator: Only allow VMCALL/VMMCALL trapped by >> #UD >> >> When execu

Re: [kvm-devel] remove redundant VM Exit for non-aligned guest pte write or part of pte write.

2008-01-03 Thread Dong, Eddie
Avi Kivity wrote: > Dong, Eddie wrote: >> I observed 1-2 seconds faster in Windows XPSP2 ACPI bootup with >> total of 23 seconds. >> I can;t say it is exactly caused by this patch, but anyway it >> simplifies the logic and code w/o any additional complexity. >> thx,eddie >> >> >> > > Patch loo

[kvm-devel] [PATCH] qemu: use statically allocate 512 byte buffer in the stack for sector in bdrv_commit

2008-01-03 Thread Carlo Marcelo Arenas Belon
revert a merge conflict from 075da586c92f09bd9a7401f1e80d72fde27c173 that redefined sector as an array of pointers to char, instead of a statically allocated buffer of chars, that was triggering the following warnings : block.c: In function `bdrv_commit': block.c:480: warning: passing arg 3 of `bd

[kvm-devel] [PATCH] MMU: fix cmpxchg8b emulation on i386 to use the right address

2008-01-03 Thread Carlo Marcelo Arenas Belon
change the function parameter to use vaddr instead of addr to avoid a variable name redefinition from 9a5ee611ca79bec98e9d97e93f11df8083b8af6e that resulted in : kernel/x86.c:1746: warning: passing argument 2 of 'vcpu->arch.mmu.gva_to_gpa' makes integer from pointer without a cast kernel/x86.

Re: [kvm-devel] [PATCH] MMU: fix cmpxchg8b emulation on i386 to use the right address

2008-01-03 Thread Carlo Marcelo Arenas Belon
On Fri, Jan 04, 2008 at 12:57:49AM -0600, Carlo Marcelo Arenas Belon wrote: > change the function parameter to use vaddr instead of addr to avoid a > variable name redefinition from 9a5ee611ca79bec98e9d97e93f11df8083b8af6e this implementation has been already patched 6 times (not including this on