Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-06 Thread He, Qing
>-Original Message- >From: Avi Kivity [mailto:[EMAIL PROTECTED] >Sent: 2007年9月6日 17:47 >To: He, Qing >Cc: kvm-devel@lists.sourceforge.net >Subject: Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when >inactive > >Avi Kivity wrote: >> He, Qing wrote: >>> When local

Re: [kvm-devel] kvm 35 and 36 segfault when smp 2 or more

2007-09-06 Thread Gianluca Cecchi
answering to Alexey: it is a QX6700 cat /proc/cpuinfo gives 4 X processor : x vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Quad CPU @ 2.66GHz stepping: 7 cpu MHz : 1596.000 cache size : 4096 KB phy

[kvm-devel] [PATCH] (big) real mode emulation - sort opcode entries 2

2007-09-06 Thread Nitin A Kamble
Hi Avi, Attached is the patch to sort remaining op-codes entries in the x86_emulate.c This patch is just restructuring current code, not new logic added to the file. It makes my life simpler with merging my x86 emulation tree. please apply. -- Thanks & Regards, Nitin Open Source Technology C

Re: [kvm-devel] Hardware Appliance

2007-09-06 Thread Haydn Solomon
This is true Wes. The beauty of open source is that proprietary as well as open source products can be built around an open source project especially one such as kvm, and marketed. The nature of open source caters to this. The trend in the market for hypervisor appliances is probably going to be

Re: [kvm-devel] Hardware Appliance

2007-09-06 Thread Wes Felter
Haydn Solomon wrote: > I've been seeing a lot of news about embedded virtualization in servers > backed by companies like Dell, HP etc. I still think KVM is the right > approach to virtualization however what does this mean for KVM as far as > being a competitor in the hypervisor market? How di

Re: [kvm-devel] [PATCH][RFC] pte notifiers -- support for external page tables

2007-09-06 Thread Avi Kivity
Andi Kleen wrote: > Avi Kivity writes: > >> pte notifiers are different from paravirt_ops: they extend the normal >> page tables rather than replace them; and they provide high-level information >> such as the vma and the virtual address for the driver to use. >> > > Sounds like a locking

Re: [kvm-devel] [PATCH][RFC] pte notifiers -- support for external page tables

2007-09-06 Thread Avi Kivity
Shaohua Li wrote: > On Wed, 2007-09-05 at 22:32 +0300, Avi Kivity wrote: > >> [resend due to bad alias expansion resulting in some recipients >> being bogus] >> >> Some hardware and software systems maintain page tables outside the normal >> Linux page tables, which reference userspace memory.

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-06 Thread Avi Kivity
Paul Brook wrote: >>> I think qemu-cvs has a -cpu option for non-x86 which could be used for >>> this. Agree machine types are the wrong approach. >>> >> Yep, machine types are already used to switch between a different concept >> so using the new -cpu option would make sense. Could perhap

Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-06 Thread Avi Kivity
He, Qing wrote: > > When local apic timer is inactive or is expired in oneshot mode, it > should not be restarted in save/restore or hrtimer migration. This > patch fixes this. > > diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h > index 5f97e25..68d454c 100644 > --- a/drivers/kv

Re: [kvm-devel] [PATCH 1/3] KVM: local apic timer control cleanup

2007-09-06 Thread Avi Kivity
He, Qing wrote: > > This patch splits out local apic timer start and divide config > > Applied, thanks. -- Any sufficiently difficult bug is indistinguishable from a feature. - This SF.net email is sponso

Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-06 Thread Avi Kivity
Avi Kivity wrote: > He, Qing wrote: >> When local apic timer is inactive or is expired in oneshot >> mode, it >> should not be restarted in save/restore or hrtimer migration. This >> patch fixes this. >> >> diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h >> index 5f97e25..68d454

Re: [kvm-devel] Hardware Appliance

2007-09-06 Thread Haydn Solomon
Yeah.. I was thinking along similar lines. I don't think it should be difficult to customize a scaled down linux with kvm. I'd like to see kvm compete along these lines too. On 9/6/07, Gildas <[EMAIL PROTECTED]> wrote: > > 2007/9/6, Haydn Solomon <[EMAIL PROTECTED]>: > > I've been seeing a lot of

Re: [kvm-devel] Hardware Appliance

2007-09-06 Thread Gildas
2007/9/6, Haydn Solomon <[EMAIL PROTECTED]>: > I've been seeing a lot of news about embedded virtualization in servers > backed by companies like Dell, HP etc. I still think KVM is the right > approach to virtualization however what does this mean for KVM as far as > being a competitor in the hype

Re: [kvm-devel] [PATCH][RFC]: pte notifiers -- support for external page tables

2007-09-06 Thread Jeremy Fitzhardinge
Avi Kivity wrote: > It is, but the hooks are in much the same places. It could be argued > that you'd embed pte notifiers in paravirt_ops for a host kernel, but > that's not doable because pte notifiers use higher-level data > strutures (like vmas). Also, I wouldn't like to preclude the possibili

[kvm-devel] Hardware Appliance

2007-09-06 Thread Haydn Solomon
I've been seeing a lot of news about embedded virtualization in servers backed by companies like Dell, HP etc. I still think KVM is the right approach to virtualization however what does this mean for KVM as far as being a competitor in the hypervisor market? How difficult would it be for KVM to d

[kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-06 Thread He, Qing
When local apic timer is inactive or is expired in oneshot mode, it should not be restarted in save/restore or hrtimer migration. This patch fixes this. Signed-off-by: Eddie (Yaozu) Dong <[EMAIL PROTECTED]> Signed-off-by: Qing He <[EMAIL PROTECTED]> --- drivers/kvm/irq.

[kvm-devel] [PATCH 1/3] KVM: local apic timer control cleanup

2007-09-06 Thread He, Qing
This patch splits out local apic timer start and divide config Signed-off-by: Eddie (Yaozu) Dong <[EMAIL PROTECTED]> Signed-off-by: Qing He <[EMAIL PROTECTED]> --- drivers/kvm/lapic.c | 104 +++--- 1 files changed, 48 insertions

[kvm-devel] [PATCH 3/3] kvm: qemu: fix local apic timer save/restore when inactive

2007-09-06 Thread He, Qing
When the local apic timer is inactive (not initialized) or expired in one shot mode, it is not reasonable to restart this timer at restore time. This patch uses current count register to communicate the state of the timer and save/restore the timer according to it Sign

Re: [kvm-devel] [RFC][PATCH 0/7] guest SMP with in-kernel APIC

2007-09-06 Thread He, Qing
>-Original Message- >From: Avi Kivity [mailto:[EMAIL PROTECTED] >Sent: 2007年9月3日 22:22 >To: He, Qing >Cc: kvm-devel@lists.sourceforge.net >Subject: Re: [kvm-devel] [RFC][PATCH 0/7] guest SMP with in-kernel APIC > >He, Qing wrote: >> Hi, >> >> This patch set enables guest SMP when using in