Re: [kvm-devel] [PATCH 2 of 2] Use CONFIG_PREEMPT_NOTIFIERS around struct preempt_notifier

2008-01-16 Thread Avi Kivity
Hollis Blanchard wrote: # HG changeset patch # User Hollis Blanchard [EMAIL PROTECTED] # Date 1200434370 21600 # Node ID 9878c9cec5f831ff5e9b97539aabc5fa3d934501 # Parent 931a81e1002110be0e8bf5b335bf199d43534c2c This allows kvm_host.h to be #included even when struct preempt_notifier is

Re: [kvm-devel] [PATCH 1 of 6] Move IO handling code to a separate file

2008-01-16 Thread Avi Kivity
Hollis Blanchard wrote: # HG changeset patch # User Hollis Blanchard [EMAIL PROTECTED] # Date 1200436754 21600 # Node ID c6e8bf3f9f7c9705a0ad29f44fa148fe80a365ff # Parent f22e390c06b78ffbcec4738112309f66267e3582 This will allow other architectures to share it, since main.c is x86-only.

Re: [kvm-devel] [PATCH 0 of 2] A couple ifdefs

2008-01-16 Thread Christian Ehrhardt
Avi Kivity wrote: Hollis Blanchard wrote: These small ifdefs are necessary for integration of the PowerPC port. Only patch 2 of 2 made it. As Hollis should be sleeping right now I resend 1/2 as it arrived on kvm-powerpc-devel (I hope my mail-app keeps the format this time) --

Re: [kvm-devel] Hacking QEMU/KVM to use unused graphics adapters

2008-01-16 Thread Anthony de Almeida Lopes
I just read the ChangeLogs from kvm-47 to kvm-59 but I didn't notice anything that about PCI pass-through or any VGA work. I'm curious how things are going and what method was selected to accomplish this functionality? - Tony Dor Laor wrote: It's still out-of -tree. Not for long :)

Re: [kvm-devel] [Qemu-devel] Re: [RFC][PATCH] Modify loop device to be able to manage partitions of the image disk

2008-01-16 Thread Anthony Liguori
Laurent Vivier wrote: Le mardi 15 janvier 2008 à 23:54 +, Daniel P. Berrange a écrit : On Wed, Jan 16, 2008 at 12:40:06AM +0100, Laurent Vivier wrote: Le mardi 15 janvier 2008 à 18:27 +, Daniel P. Berrange a écrit : On Tue, Jan 15, 2008 at 07:22:53PM +0100, Laurent

Re: [kvm-devel] [Qemu-devel] Re: [RFC][PATCH] Modify loop device to be able to manage partitions of the image disk

2008-01-16 Thread Laurent Vivier
Le mercredi 16 janvier 2008 à 08:57 -0600, Anthony Liguori a écrit : Le mardi 15 janvier 2008 à 23:54 +, Daniel P. Berrange a écrit : [...] 2- I'd like to mount qcow2 or others disk image formats, so perhaps it's easier to modify loop device driver (but perhaps you know another magic

[kvm-devel] Wiki downtime

2008-01-16 Thread Avi Kivity
Due to Qumranet relocating to new premises, the kvm wiki will be down tomorrow for at least a few hours. -- error compiling committee.c: too many arguments to function - This SF.net email is sponsored by: Microsoft Defy

Re: [kvm-devel] [PATCH 2 of 2] Use CONFIG_PREEMPT_NOTIFIERS around struct preempt_notifier

2008-01-16 Thread Hollis Blanchard
On Wed, 2008-01-16 at 10:08 +0200, Avi Kivity wrote: Hollis Blanchard wrote: # HG changeset patch # User Hollis Blanchard [EMAIL PROTECTED] # Date 1200434370 21600 # Node ID 9878c9cec5f831ff5e9b97539aabc5fa3d934501 # Parent 931a81e1002110be0e8bf5b335bf199d43534c2c This allows

[kvm-devel] [PATCH 1/2] kvmclock - the host part.

2008-01-16 Thread Glauber de Oliveira Costa
This is the host part of kvm clocksource implementation. As it does not include clockevents, it is a fairly simple implementation. We only have to register a per-vcpu area, and start writting to it periodically. The area is binary compatible with xen, as we use the same shadow_info structure.

[kvm-devel] [PATCH 2/2] kvmclock implementation, the guest part.

2008-01-16 Thread Glauber de Oliveira Costa
This is the guest part of kvm clock implementation It does not do tsc-only timing, as tsc can have deltas between cpus, and it did not seem worthy to me to keep adjusting them. We do use it, however, for fine-grained adjustment. Other than that, time comes from the host. Signed-off-by: Glauber

Re: [kvm-devel] [PATCH] fix cpuid function 4

2008-01-16 Thread Alexander Graf
Dan Kenigsberg wrote: On Tue, Jan 15, 2008 at 08:57:45AM +0100, Alexander Graf wrote: Dan Kenigsberg wrote: On Mon, Jan 14, 2008 at 02:49:31PM +0100, Alexander Graf wrote: Hi, Currently CPUID function 4 is broken. This function's values rely on the value of ECX. To

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-16 Thread Rik van Riel
On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum required to have a nice linux-VM controlled swapping behavior of the KVM gphysical memory. I have a vaguely related question on KVM

[kvm-devel] 8th Annual National Business Conference

2008-01-16 Thread ALEXANDER
Dear Reader,You are invited to attend the8th AnnualNational Multicultural Business Conference. The event on April23 -25, 2008bringing togetherSmall Businesses, Government AgenciesandFortune 1000 companies for promotingbusiness opportunities. Attendance is expected to top 1200. This years

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-16 Thread Izik Eidus
Rik van Riel wrote: On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum required to have a nice linux-VM controlled swapping behavior of the KVM gphysical memory. I have a

Re: [kvm-devel] mmu notifiers

2008-01-16 Thread Christoph Lameter
On Wed, 16 Jan 2008, Avi Kivity wrote: Yes, that was poorly phrased. The page and its page struct may be reallocated for other purposes. Its better to say reused. Otherwise one may think that an allocation of page structs is needed.

Re: [kvm-devel] [PATCH] fix cpuid function 4

2008-01-16 Thread Dan Kenigsberg
On Wed, Jan 16, 2008 at 06:34:08PM +0100, Alexander Graf wrote: Dan Kenigsberg wrote: On Tue, Jan 15, 2008 at 08:57:45AM +0100, Alexander Graf wrote: Dan Kenigsberg wrote: On Mon, Jan 14, 2008 at 02:49:31PM +0100, Alexander Graf wrote: Hi, Currently CPUID

Re: [kvm-devel] [PATCH] KVM virtio balloon driver

2008-01-16 Thread Dor Laor
On Tue, 2008-01-15 at 17:01 -0200, Marcelo Tosatti wrote: OK, thats simpler. How about this: It's sure is simpler :) [PATCH] Virtio balloon driver Add a balloon driver for KVM, host-guest communication is performed via virtio. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] [snip]

Re: [kvm-devel] [PATCH 1/2] kvmclock - the host part.

2008-01-16 Thread Glauber de Oliveira Costa
Anthony Liguori wrote: Glauber de Oliveira Costa wrote: This is the host part of kvm clocksource implementation. As it does not include clockevents, it is a fairly simple implementation. We only have to register a per-vcpu area, and start writting to it periodically. The area is binary

[kvm-devel] [PATCH] KVM simplified virtio balloon driver

2008-01-16 Thread Rusty Russell
After discussions with Anthony Liguori, it seems that the virtio balloon can be made even simpler. Here's my attempt. Since the balloon requires Guest cooperation anyway, there seems little reason to force it to tell the Host when it wants to reuse a page. It can simply fault it in. Moreover,

Re: [kvm-devel] [PATCH] KVM simplified virtio balloon driver

2008-01-16 Thread Anthony Liguori
Rusty Russell wrote: After discussions with Anthony Liguori, it seems that the virtio balloon can be made even simpler. Here's my attempt. Since the balloon requires Guest cooperation anyway, there seems little reason to force it to tell the Host when it wants to reuse a page. It can

Re: [kvm-devel] [PATCH] KVM simplified virtio balloon driver

2008-01-16 Thread Anthony Liguori
Rusty Russell wrote: On Thursday 17 January 2008 13:14:58 Anthony Liguori wrote: Rusty Russell wrote: +static struct virtio_device_id id_table[] = { + { VIRTIO_ID_BALLOON, VIRTIO_DEV_ANY_ID}, Could use a space after VIRTIO_DEV_ANY_ID Thanks, fixed. +