Re: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side)

2007-05-13 Thread Dor Laor
-Original Message- From: Gregory Haskins [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 4:20 PM To: kvm-devel@lists.sourceforge.net; Dor Laor Subject: RE: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side) On Thu, May 10, 2007 at 9:07 AM, in message [EMAIL PROTECTED]

Re: [kvm-devel] ABI change proposal before the 2.6.22 freeze

2007-05-13 Thread Dor Laor
(assuming that hasn't happened already?) You're right on time.. One thing that would make my life easier going forward would be if we could separate out the interrupt related state from the [gs]et_sregs() calls. What I propose is that we make two new calls (say [gs]et_pic). For level- 0 mode

Re: [kvm-devel] VM status

2007-05-13 Thread Dor Laor
Hi How do I get status of a VM ? What states are available ? running, stopped/paused, shutting down, blocked, starting ? For some of these states you'll need an agent running within the guest {starting, shutting down}. Note that currently except for virt-manager/libvirt there is no open

Re: [kvm-devel] [PATCH 4/4] KVM: Add support for in-kernel LAPIC model

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: I don't understand. Isn't the tpr read- only from the point of view of the lapic? Not quite. Its true that the APIC proper views the TPR as read-only. However, TPR can be set by the CPU using both MOV to CR8 as well as an MMIO operation to the TPR

Re: [kvm-devel] guest state leak into host

2007-05-13 Thread Avi Kivity
Dong, Eddie wrote: Avi: Following commit mentioned guest state leaking into host, Can u explain a bit? In my understanding, as if control goes to vmx_vcpu_run, CPU preemption is disabled, i.e. no rescheduling will happen (Guest resheduling will only happen at IOCTL return to

Re: [kvm-devel] Cursor release failures

2007-05-13 Thread Avi Kivity
Michael Ivanov wrote: Avi Kivity пишет: * ctrl alt does NOT release the pointer This is strange. Just tested it again with kvm-24 The pointer is not released on ctrl del. When the guest system reboots the system does not hang anymore though. Is it possible to turn on

Re: [kvm-devel] paravirtualization status

2007-05-13 Thread Avi Kivity
Omar Khan wrote: hi, What is the status of paravirtualization? It's basically stalled. However, I'd like to restart this, on a much bigger scale. Using paravirt_ops, one can use direct paging (like Xen) instead of shadow paging, and achieve better performance. In fact, it should be

Re: [kvm-devel] [PATCH 0/8] in-kernel APIC support v1

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: Here is my latest series incorporating the feedback and numerous bugfixes. I did not keep an official change-log, so its difficult to say what changed off the top of my head without an interdiff. I will keep a changelog from here on out. Lets call this drop officially

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Dor Laor
ron minnich wrote: Let me ask what may seem to be a naive question to the linux world. I see you are doing a lot off solid work on adding block and network devices. The code for block and network devices is implemented in different ways. I've also seen this difference of

Re: [kvm-devel] [PATCH 2/8] KVM: Add irqdevice object

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: On Wed, May 9, 2007 at 6:12 PM, in message [EMAIL PROTECTED], Dor Laor [EMAIL PROTECTED] wrote: I wonder if VMX or SVM have an option of injecting several virq at once. VMX definitely does not (IIUC). I don't know enough about SVN to say for

Re: [kvm-devel] ABI change proposal before the 2.6.22 freeze

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: (assuming that hasn't happened already?) One thing that would make my life easier going forward would be if we could separate out the interrupt related state from the [gs]et_sregs() calls. What I propose is that we make two new calls (say [gs]et_pic). For level-0

Re: [kvm-devel] Regression in latest git-HEAD

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: As of May 1st I could boot 64 bit SLED. As of yesterday, it exceptions immediately in the bootloader. This happens both with and without my APIC patches applied. Any idea of what checkin was the cause? At least, which release was the last to

Re: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side)

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: The load-average on my system is about 1 while XP is idling. qemu seems to be mostly at 0% but will bounce up to 1% on occasion. Here is the output of top -b -p qemu-pid over a few seconds: top - 09:17:45 up 16:58, 3 users, load average: 1.02, 0.86, 0.42 Tasks:

Re: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side)

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: I am pleased to announce v3, which builds upon v2 by adding: While I haven't reviewed all this yet, it look like we can merge this early next week. What remains to be done: - boot test mainstream (Linux + Windows) guests on (vmx, svm) x (32, 64) host x (32, 64)

Re: [kvm-devel] [PATCH 05/10] KVM: Adds ability to signal userspace using a file-descriptor

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: Signed-off-by: Gregory Haskins [EMAIL PROTECTED] Please include patch descriptions. --- drivers/kvm/kvm.h |2 + drivers/kvm/kvm_main.c | 82 2 files changed, 84 insertions(+), 0 deletions(-) diff

Re: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side)

2007-05-13 Thread Gregory Haskins
On Sun, May 13, 2007 at 4:00 AM, in message [EMAIL PROTECTED], Dor Laor [EMAIL PROTECTED] wrote: Superb results, when I run the old in- kernel apic I got much higher idle cpu consumtion. I know that's vmenter- vmexit latency was drastically improved but 0- 1% cpu consumption for winxp 32

Re: [kvm-devel] [PATCH 0/8] in-kernel APIC support v1

2007-05-13 Thread Gregory Haskins
On Sun, May 13, 2007 at 8:02 AM, in message [EMAIL PROTECTED], Avi Kivity [EMAIL PROTECTED] wrote: Gregory Haskins wrote: Here is my latest series incorporating the feedback and numerous bugfixes. I did not keep an official change- log, so its difficult to say what changed off the top

Re: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side)

2007-05-13 Thread Dor Laor
Superb results, when I run the old in- kernel apic I got much higher idle cpu consumtion. I know that's vmenter- vmexit latency was drastically improved but 0- 1% cpu consumption for winxp 32 bit sounds too good to be true. Are you sure an ACPI HAL is used in the guest? (can be checked by

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Anthony Liguori
Dor Laor wrote: push it into the kernel are: a. We should perform much better b. It would be a painful task getting all the code review that a complicated network interface should get. c. There's already a PV driver that answers a,b. The Xen's PV network driver is

Re: [kvm-devel] VM status

2007-05-13 Thread jd
Thanks again... see below. -- Dor Laor [EMAIL PROTECTED] wrote: Hi How do I get status of a VM ? What states are available ? running, stopped/paused, shutting down, blocked, starting ? For some of these states you'll need an agent running within the guest {starting, shutting

Re: [kvm-devel] [PATCH 0/8] in-kernel APIC support v1

2007-05-13 Thread Avi Kivity
Gregory Haskins wrote: I think that it should be writable, as the vcpu wants interrupts to be pushed into it (a write op) rather than it indicates it wants data to be pulled out of it. Ok, I think we might just be confusing terms. What you describe is essentially what I do,

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Dor Laor
Subject: Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver Dor Laor wrote: push it into the kernel are: a. We should perform much better b. It would be a painful task getting all the code review that a complicated network interface should get. c.

Re: [kvm-devel] VM status

2007-05-13 Thread Anthony Liguori
jd wrote: Thanks again... see below. -- Dor Laor [EMAIL PROTECTED] wrote: Hi How do I get status of a VM ? What states are available ? running, stopped/paused, shutting down, blocked, starting ? These sound very familiar :-) These are the states that a Xen VM can be in.

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Anthony Liguori
Dor Laor wrote: Furthermore, the plan is to completely rearchitect the netback/netfront protocol for the next Xen release (this effort is referred to netchannel2). But isn't Jeremy Fitzhardinge is pushing big patch queue into the kernel? Yes, but it's not in the kernel yet and

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Muli Ben-Yehuda
On Sun, May 13, 2007 at 11:49:14AM -0500, Anthony Liguori wrote: Dor Laor wrote: Furthermore, the plan is to completely rearchitect the netback/netfront protocol for the next Xen release (this effort is referred to netchannel2). But isn't Jeremy Fitzhardinge is pushing big

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Dor Laor
Subject: Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver On Sun, May 13, 2007 at 11:49:14AM -0500, Anthony Liguori wrote: Dor Laor wrote: Furthermore, the plan is to completely rearchitect the netback/netfront protocol for the next Xen release (this effort is referred

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-13 Thread Rusty Russell
On Sun, 2007-05-13 at 11:49 -0500, Anthony Liguori wrote: Dor Laor wrote: Furthermore, the plan is to completely rearchitect the netback/netfront protocol for the next Xen release (this effort is referred to netchannel2). It's looks like generalizing all the level 0,1,2 features plus