Re: [kvm-devel] [PATCH] KVM-USER: Check kvm extensions at runtime

2007-05-16 Thread Avi Kivity
Gregory Haskins wrote: >>> diff -- git a/qemu/qemu- kvm.c b/qemu/qemu- kvm.c >>> index 59e79bf..6096f21 100644 >>> --- a/qemu/qemu- kvm.c >>> +++ b/qemu/qemu- kvm.c >>> @@ - 697,6 +697,25 @@ int kvm_qemu_init() >>> int kvm_qemu_create_context(void) >>> { >>> int i; >>> +uint64_t ext; >>

Re: [kvm-devel] [PATCH] KVM-USER: Check kvm extensions at runtime

2007-05-16 Thread Gregory Haskins
>>> On Wed, May 16, 2007 at 7:47 AM, in message <[EMAIL PROTECTED]>, Avi Kivity <[EMAIL PROTECTED]> wrote: > Gregory Haskins wrote: >> Newer userspace may run on an older kernel. Therefore we need a way to >> check the capabilities of the kernel so that we can downgrade userspace >> dynamically

Re: [kvm-devel] [PATCH] KVM-USER: Check kvm extensions at runtime

2007-05-16 Thread Avi Kivity
Gregory Haskins wrote: > Newer userspace may run on an older kernel. Therefore we need a way to > check the capabilities of the kernel so that we can downgrade userspace > dynamically if necessary > > Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> > --- > > qemu/qemu-kvm.c | 19 +++

[kvm-devel] [PATCH] KVM-USER: Check kvm extensions at runtime

2007-05-15 Thread Gregory Haskins
Newer userspace may run on an older kernel. Therefore we need a way to check the capabilities of the kernel so that we can downgrade userspace dynamically if necessary Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- qemu/qemu-kvm.c | 19 +++ user/kvmctl.c | 14