[kvm-devel] Greeting ecard

2007-08-16 Thread naru531
Good day. Your Cousin has sent you Greeting ecard from 123greetings.com. Click on your card's direct www address below: http://24.182.112.117/ Copyright (c) 1997-2007 123greetings.com All Rights Reserved - This SF.net ema

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

2007-08-16 Thread Koen de Jonge
Slohm Gadaburi wrote: > 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]>

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

2007-08-16 Thread Sylvain Petreolle
- Message d'origine De : Avi Kivity <[EMAIL PROTECTED]> À : [EMAIL PROTECTED] Cc : kvm-devel@lists.sourceforge.net; Jorge Lucángeli Obes <[EMAIL PROTECTED]> Envoyé le : Jeudi, 16 Août 2007, 7h23mn 16s Objet : Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store comman

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

2007-08-16 Thread Dor Laor
>> 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-lguest-readwrite.patch >which needs a compl

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

2007-08-16 Thread Avi Kivity
Sylvain Petreolle wrote: >> - Message d'origine >> De : Avi Kivity <[EMAIL PROTECTED]> >> À : [EMAIL PROTECTED] >> Cc : kvm-devel@lists.sourceforge.net; Jorge Lucángeli Obes <[EMAIL >> PROTECTED]> >> Envoyé le : Jeudi, 16 Août 2007, 7h23mn 16s >> Objet : Re: [Qemu-devel] Re: [kvm-devel] M

Re: [kvm-devel] lapic3 branch rebased

2007-08-16 Thread Zhao, Yunfeng
Hi, Avi In my testing for lapic5, I can boot Windows guest with UP ACPI HAL. And I cannot boot Windows Guest with SMP ACPI HAL even with enabling smp=1 Thanks Yunfeng >This is now done, containing the following changes: > >- rename 'struct kvm_ioctl_pic' to 'struct kvm_pic_state' >- rename 'struc

Re: [kvm-devel] lapic3 branch rebased

2007-08-16 Thread Zhao, Yunfeng
Hi,Avi Do you see any timer issue on Lapic5? On lapic5 I found that linux guest has a big time lag while running kernel build. With network time the time cost is about 450s, but guest timer reports 899s. I didn't meet the issue on lapic3. Thanks Yunfeng >-Original Message- >From: [EMAI

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

2007-08-16 Thread Dan Kenigsberg
Luca, One more comment on your patch: the logic in the following condition does not fit the comment bellow it. On Mon, Aug 13, 2007 at 10:37:41PM +0200, Luca Tettamanti wrote: > +if (use_dynamic_ticks() && dynticks_create_timer()) { > +/* dynticks disabled or failed to create

Re: [kvm-devel] kvm very slow

2007-08-16 Thread Avi Kivity
Matthew Kent wrote: > ACPI: no DMI BIOS year, acpi=force is required to enable ACPI > > Well, we now have the bios in kvm-userspace.git (under bios/). If someone wants a go at adding DMI to the bios, it's waiting for you. -- Do not meddle in the internals of kernels, for they are subtle and

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

2007-08-16 Thread Avi Kivity
Yang, Sheng wrote: > 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. > > Applied both, thanks. I split the userspace patch into the l

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

2007-08-16 Thread Avi Kivity
Nitin A Kamble wrote: > 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. > > > + inline void jmp_rel(int rel) > + { > + _eip += (int)(rel); > +

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

2007-08-16 Thread Gildas
Hi, I've tested the bios.bin with Windows XP as well and I can confirm this actually fixes BUG 1772966 for me. Will this be integrated in kvm-36? Cheers Gildas 2007/8/16, Jorge Lucángeli Obes <[EMAIL PROTECTED]>: > On 8/14/07, Igor Lvovsky <[EMAIL PROTECTED]> wrote: > > I attached the patch for

[kvm-devel] [PATCH][lapic5] kvm: qemu: prevent set wrong cr8 when using irqchip

2007-08-16 Thread Yang, Sheng
this allows running 64-bit Windows. Signed-off-by: Sheng Yang <[EMAIL PROTECTED]> --- qemu/qemu-kvm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index 3fc32f7..af7b1d8 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -516,8 +

[kvm-devel] paravirtualizaton support

2007-08-16 Thread Gunther Persoons
Hey, Is there already paravirtualizaton support in KVM? If so how can I enable it? Thankx - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and c

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

2007-08-16 Thread Cam Macdonell
Avi Kivity 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 should be able to compile it withou

[kvm-devel] [PATCH/RFC 0/4]Virtual Machine time accounting

2007-08-16 Thread Laurent Vivier
The aim of these four patches is to introduce Virtual Machine time accounting. [PATCH 1/4] as modern CPUs introduce a third running state, after "user" and "system", we need a new field, "guest", in cpustat to store the time used by the CPU to run virtual CPU. Modify /proc/stat to display this new

[kvm-devel] [PATCH/RFC 1/4]Introduce a new field "guest" in cpustat

2007-08-16 Thread Laurent Vivier
[PATCH 1/4] as modern CPUs introduce a third running state, after "user" and "system", we need a new field, "guest", in cpustat to store the time used by the CPU to run virtual CPU. Modify /proc/stat to display this new field. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- - [EM

[kvm-devel] [PATCH/RFC 3/4]Introduce "account modifiers" mechanism

2007-08-16 Thread Laurent Vivier
[PATCH 3/3] introduce "account modifiers" mechanism in the kernel allowing a module to modify the collected accounting for a given task. This implementation is based on the "preempt_notifier". "account_system_time()" and "account_user_time()" can call functions registered by a module to modify the

[kvm-devel] [PATCH/RFC 2/4]Introduce a new field "guest" in task_struct

2007-08-16 Thread Laurent Vivier
PATCH 2/4] like for cpustat, introduce the "guest" and "cguest" fields for the tasks. Modify signal_struct and task_struct. Modify /proc//stat to display these new field Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- - [EMAIL PROTECTED] -- "Software is ha

[kvm-devel] [PATCH/RFC 4/4]Modify KVM to use the "account modifiers"

2007-08-16 Thread Laurent Vivier
[PATCH 4/4] Modify KVM to use the "account modifiers". KVM can now measure time consumed by a Virtual Machine on a per-cpu basis and modify kernel statistics to report this value. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- - [EMAIL PROTECTED] -- "Softw

Re: [kvm-devel] paravirtualizaton support

2007-08-16 Thread Matthew Kent
On Thu, 2007-16-08 at 16:32 +0200, Gunther Persoons wrote: > Hey, > > Is there already paravirtualizaton support in KVM? If so how can I enable it? > > Thankx Right now as is my understanding paravirt in KVM is only a patch series at http://hg.codemonkey.ws/kvm-paravirt Not sure which kvm rele

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

2007-08-16 Thread Andreas Färber
Am 16.08.2007 um 01:52 schrieb Mark Williamson: > I've missed some of the discussion, but wouldn't tar be an obvious > choice? It > can expand easily out to a directory hierarchy containing config > file and > multiple virtual disk files, there are standard tools that can > manipulate it >

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

2007-08-16 Thread Ben Taylor
"Jorge Lucángeli Obes" <[EMAIL PROTECTED]> 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. Everythin

Re: [kvm-devel] [BUG][PATCH?] kvm: unhandled wrmsr: 0xc0000083

2007-08-16 Thread Jindrich Makovicka
On Mon, 13 Aug 2007 12:09:46 +0300 Avi Kivity <[EMAIL PROTECTED]> wrote: > > get_msr_entry should be fine, cpu_save/cpu_load (used by savevm - > > qemu/vl.c) may need a similar fix. > > > > The patch stops the "unhandled wrmsr", but reboot is still not > > working (guest is stuck using 100% of the

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

2007-08-16 Thread Avi Kivity
Cam Macdonell wrote: > Avi Kivity 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 s

[kvm-devel] Windows Guest Status on AMD64

2007-08-16 Thread Duncan McQueen
According to the Guest OS status, all Windows OSes seem to fail on AMD64. Is this still the case? Thanks, Duncan McQueen - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? S

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

2007-08-16 Thread Nitin A Kamble
Avi, In my opinion converting this small function to file-scope function, would make code look ugly. I think the earlier Macro definition was better. On Thu, 2007-08-16 at 03:25 -0700, Avi Kivity wrote: > > + inline void jmp_rel(int rel) > > + { > > + _eip += (int)(rel

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

2007-08-16 Thread Dan Shearer
On Thu, Aug 16, 2007 at 01:05:41PM -0400, Ben Taylor wrote: > Personally, I'm not sure why we wouldn't just write out the command line > data to a file tied to the primary image file What about a compatible change to the file format: the last 1024 bytes are either undefined, or, if a certain mark

[kvm-devel] [PATCH/RFC 3/4] Add support for HPET periodic timer.

2007-08-16 Thread Luca Tettamanti
Linux operates the HPET timer in legacy replacement mode, which means that the periodic interrupt of the CMOS RTC is not delivered (qemu won't be able to use /dev/rtc). Add support for HPET (/dev/hpet) as a replacement for the RTC; the periodic interrupt is delivered via SIGIO and is handled in the

[kvm-devel] [PATCH/RFC 4/4] Add support for dynamic ticks.

2007-08-16 Thread Luca Tettamanti
If DYNAMIC_TICKS is defined qemu does not attepmt to generate SIGALRM at a constant rate. Rather, the system timer is set to generate SIGALRM only when it is needed. DYNAMIC_TICKS reduces the number of SIGALRMs sent to idle dynamic-ticked guests. Original patch from Dan Kenigsberg <[EMAIL PROTECTED

[kvm-devel] [PATCH/RFC 1/4] Rework alarm timer infrastrucure.

2007-08-16 Thread Luca Tettamanti
Make the alarm code modular, removing #ifdef from the generic code and abstract a common interface for all the timer. The result is functionally equivalent to the old code. Signed-off-by: Luca Tettamanti <[EMAIL PROTECTED]> --- qemu/vl.c | 292 +--

[kvm-devel] [PATCH/RFC 0/4] Rework alarm timer infrastrucure.

2007-08-16 Thread Luca Tettamanti
Hello, in reply to this mail I will send a serie of 4 patches that cleans up and expands the alarm timer handling in QEMU. Patches apply to current kvm-userspace tree, but I think I can rebase it to QEMU svn if desired. Patch 1 is mostly a cleanup of the existing code; instead of having multiple

[kvm-devel] [PATCH/RFC 2/4] Add -clock option.

2007-08-16 Thread Luca Tettamanti
Allow user to override the list of available alarm timers and their priority. The format of the options is -clock clk1,clk2,... Signed-off-by: Luca Tettamanti <[EMAIL PROTECTED]> --- qemu/vl.c | 90 -- 1 files changed, 72 insertions(+), 18 deletio

[kvm-devel] Windows Server 2003 Crashes on KVM-35

2007-08-16 Thread Clive Stewell
I have been attempting to get Windows Server 2003 running under KVM and am having some difficulty in doing so. I have tried it on both AMD and Intel-based machines and it crashes on each. Below is some basic information about my setup followed by the output from the crashes. = CPU Model: In

Re: [kvm-devel] Windows Guest Status on AMD64

2007-08-16 Thread Alexey Eremenko
On 8/16/07, Duncan McQueen <[EMAIL PROTECTED]> wrote: > According to the Guest OS status, all Windows OSes seem to fail on > AMD64. Is this still the case? > > Thanks, > > Duncan McQueen > Starting with KVM-34, it has been improved from "crashing" to "not-so-stable" status. Now it kinda works, bu

[kvm-devel] [PATCH 00/10] PV-IO v3

2007-08-16 Thread Gregory Haskins
Here is the v3 release of the patch series for a generalized PV-IO infrastructure. It has v2 plus the following changes: 1) The big changes is that PVBUS is now based on the bus/device_register APIs. The code is inspired by the lguest_bus except it has been decoupled from the hypervisor.

[kvm-devel] [PATCH 02/10] PARAVIRTUALIZATION: Add support for a bus abstraction

2007-08-16 Thread Gregory Haskins
PV usually comes in two flavors: device PV, and "core" PV. The existing PV ops deal in terms of the latter. However, it would be useful to add an interface for a virtual bus with provisions for discovery/configuration of backend PV devices. Often times it is desirable to run PV devices even if

[kvm-devel] [PATCH 03/10] IOQ: Add an IOQ network driver

2007-08-16 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/net/Kconfig | 10 + drivers/net/Makefile|2 drivers/net/ioqnet/Makefile | 11 + drivers/net/ioqnet/driver.c | 658 +++ include/linux/ioqnet.h | 44 +++ 5 files c

[kvm-devel] [PATCH 04/10] IOQNET: Add a test harness infrastructure to IOQNET

2007-08-16 Thread Gregory Haskins
We can add a IOQNET loop-back device and register it with the PVBUS to test many aspects of the system (IOQ, PVBUS, and IOQNET itself). Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/net/Kconfig | 10 + drivers/net/ioqnet/Makefile |3 drivers/net/ioqnet/loopbac

[kvm-devel] [PATCH 08/10] KVM: Add support for IOQ

2007-08-16 Thread Gregory Haskins
IOQ is a shared-memory-queue interface for implmenting PV driver communication. Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig|5 + drivers/kvm/Makefile |3 drivers/kvm/ioq.h | 12 +- drivers/kvm/ioq_host.c | 365

[kvm-devel] [PATCH 06/10] KVM: Add a guest side driver for IOQ

2007-08-16 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig | 28 +++ drivers/kvm/Makefile |3 drivers/kvm/ioq.h | 39 + drivers/kvm/ioq_guest.c | 195 +++ drivers/kvm/pvbus.h | 63 +++ drivers/kvm/pvbus_guest.c |

[kvm-devel] [PATCH 01/10] IOQ: Adding basic definitions for IO-Queue logic

2007-08-16 Thread Gregory Haskins
IOQ is a generic shared-memory-queue mechanism that happens to be friendly to virtualization boundaries. Note that it is not virtualization specific due to its flexible transport layer. Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- include/linux/ioq.h | 176 +++

[kvm-devel] [PATCH 07/10] KVM: Add a gpa_to_hva helper function

2007-08-16 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |1 + drivers/kvm/mmu.c | 12 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 9934f11..05d5be1 100755 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/k

[kvm-devel] [PATCH 10/10] KVM: Add an IOQNET backend driver

2007-08-16 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig |5 drivers/kvm/Makefile |2 drivers/kvm/ioqnet_host.c | 566 + 3 files changed, 573 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/Kconfig b/drive

Re: [kvm-devel] [PATCH/RFC 3/4]Introduce "account modifiers" mechanism

2007-08-16 Thread Rusty Russell
On Thu, 2007-08-16 at 17:58 +0200, Laurent Vivier wrote: > [PATCH 3/3] introduce "account modifiers" mechanism in the kernel allowing a > module to modify the collected accounting for a given task. This > implementation > is based on the "preempt_notifier". "account_system_time()" and > "account_u

[kvm-devel] [PATCH 09/10] KVM: Add PVBUS support to the KVM host

2007-08-16 Thread Gregory Haskins
PVBUS allows VMM agnostic PV drivers to discover/configure virtual resources Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig | 10 + drivers/kvm/Makefile |3 drivers/kvm/kvm.h|4 drivers/kvm/kvm_main.c |4 drivers/kvm/pvbus_host.c |

[kvm-devel] [PATCH 05/10] IRQ: Export create_irq/destroy_irq

2007-08-16 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- arch/x86_64/kernel/io_apic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index d8bfe31..6bf8794 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86

[kvm-devel] [Patch] (big) real mode emulation - and ax imm

2007-08-16 Thread Nitin A Kamble
Hi Avi, Attached is the patch to implement "and al imm8", "and ax imm16" & " and eax imm32" instructions. Please apply or comment. -- Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation - The mind is like a par

[kvm-devel] [Patch] (big) real mode emulation - push reg

2007-08-16 Thread Nitin A Kamble
Hi Avi, Attached is a patch to implement instruction: push reg (opcode 0x50 - 0x57) Please apply or comment. -- Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation - The mind is like a parachute;

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

2007-08-16 Thread Nitin A Kamble
Hi Avi, If you are fine with macro then attached are the updated patches for "jmp rel" & "jmp rel short" instruction emulation. On Thu, 2007-08-16 at 13:34 -0700, Nitin A Kamble wrote: > Avi, > In my opinion converting this small function to file-scope function, > would make code look ugl

Re: [kvm-devel] [PATCH 00/10] PV-IO v3

2007-08-16 Thread Rusty Russell
On Thu, 2007-08-16 at 19:13 -0400, Gregory Haskins wrote: > Here is the v3 release of the patch series for a generalized PV-IO > infrastructure. It has v2 plus the following changes: Hi Gregory, This is a lot of code. I'm having trouble taking it all in, TBH. It might help me if we cou

Re: [kvm-devel] [PATCH 00/10] PV-IO v3

2007-08-16 Thread Gregory Haskins
Hi Rusty, Comments inline... On Fri, 2007-08-17 at 11:25 +1000, Rusty Russell wrote: > > Transport has several parts. What the hypervisor knows about (usually > shared memory and some interrupt mechanism and possibly "DMA") and what > is convention between users (eg. ringbuffer layouts). Whet

Re: [kvm-devel] [PATCH][lapic5] kvm: qemu: prevent set wrong cr8 whenusing irqchip

2007-08-16 Thread He, Qing
I'm updating this patch, by doing this, UP booting of 32bit ACPI MP HAL Windows is fixed. Signed-off-by: Qing He <[EMAIL PROTECTED]> qemu/qemu-kvm.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index 3fc32f7..d07af9f 100644 -