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

2007-08-16 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 results.

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

2007-08-16 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-16 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 creating a new

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

2007-08-16 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 path to the shared folder and see that folder in: \\10.0.2.4\qemu Check QEMU command line

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

2007-08-16 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 path to the shared folder and see that folder in:

[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

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] wrote:

[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 command

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 complete

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 'struct

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: [EMAIL

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 a

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 libkvm

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); + _eip

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 BOCHS

[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

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 without having to

[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] -- - [EMAIL

[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 cputime

[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/pid/stat to display these new field Signed-off-by: Laurent Vivier [EMAIL PROTECTED] -- - [EMAIL PROTECTED] -- Software is hard

[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] -- Software

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 release

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 and

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. Everything keeps

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 CPU). 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 should be able to compile

[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?

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

[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

[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

[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

[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:

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, but requires

[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 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

[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

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 ugly. I

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

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). Whether