Re: [kvm-devel] [PATCH RFC 1/4]Porting Xentrace to kvm

2008-03-16 Thread Chris Wright
* Liu, Eric E ([EMAIL PROTECTED]) wrote: > +#ifdef CONFIG_KVM_TRACE > +#define KVMTRACE_ND(evt, vcpu, cycles, count, d1, d2, d3, d4) > \ > + do { > \ > + if (unlikely(kvm_trace_enable_flag)) { > \ > + if (KVM_TRC_##evt == KVM_TRC_VMEXIT || > \ > + KVM_TRC_##evt =

[kvm-devel] tools to dump guest memory and generate core file

2008-03-16 Thread david ahern
Does anyone know of tools that can dump memory for a qemu guest with addresses as seen by the guest and generate a core file? For instance, say you know the guest is running a 32-bit linux kernel with a 1G/3G split. Then you would want to dump 1G of memory starting 0xc000 and create an ELF core

[kvm-devel] kernel panic???

2008-03-16 Thread zshan
Hi: I had some trouble in installing KVM/QEMU os,when I input "qemu-system-x86_64 -boot d -cdrom /dev/cdrom -hda redhat.img -m 1000" ,It will show the information that: Kernel panic �Cnot syncing: kernel compiled Pentium+, requires TSC feature! .. Can you tell me why it happens?and

[kvm-devel] manage number of VCPU and memory

2008-03-16 Thread břeťa
Hi, I want to ask for a help in searching specific documetation. I am looking for any information about how to change the number of VCPU and amount of memory while the VM is running (or at least the magic keywords for google; I was successful in searching information about how to do that in Xen

Re: [kvm-devel] [patch 0/3] QEMU balloon support

2008-03-16 Thread Marcelo Tosatti
Hi Avi, Good that you're back. On Sun, Mar 16, 2008 at 04:00:06PM +0200, Avi Kivity wrote: > Marcelo Tosatti wrote: > >This patchset resends Anthony's QEMU balloon support plus: > > > >- Truncates the target size to ram size > >- Enables madvise() conditioned on KVM_ZAP_GFN ioctl > > > > > > O

Re: [kvm-devel] [PATCH] Fix sci irq set when acpi timer about to wrap

2008-03-16 Thread Avi Kivity
Dor Laor wrote: > >From 498f162fc9d9fb897c756273c481101a44a220de Mon Sep 17 00:00:00 2001 > From: Dor Laor <[EMAIL PROTECTED]> > Date: Thu, 13 Mar 2008 00:11:41 +0200 > Subject: [PATCH] Fix sci irq set when acpi timer about to wrap. > > The acpi timer should generate sci irq when enabled and > when

Re: [kvm-devel] [PATCH RFC 0/4]Porting Xentrace to kvm

2008-03-16 Thread Jan Kiszka
Avi Kivity wrote: > Jan Kiszka wrote: >> Avi Kivity wrote: >> >>> Liu, Eric E wrote: >>> Hi, The following patches port xentrace to kvm which is useful for performance tuning and debugging. It is designed to allow debugging traces of kvm to be generated on Up/Smp

Re: [kvm-devel] [PATCH RFC 0/4]Porting Xentrace to kvm

2008-03-16 Thread Avi Kivity
Jan Kiszka wrote: > Avi Kivity wrote: > >> Liu, Eric E wrote: >> >>> Hi, >>> The following patches port xentrace to kvm which is useful for >>> performance tuning and debugging. >>> >>> It is designed to allow debugging traces of kvm to be generated on >>> Up/Smp machines. Each trace entry

Re: [kvm-devel] [PATCH RFC 0/4]Porting Xentrace to kvm

2008-03-16 Thread Jan Kiszka
Avi Kivity wrote: > Liu, Eric E wrote: >> Hi, >> The following patches port xentrace to kvm which is useful for >> performance tuning and debugging. >> >> It is designed to allow debugging traces of kvm to be generated on >> Up/Smp machines. Each trace entry is outputted in a trace ring buffer >> f

Re: [kvm-devel] [PATCH RFC 1/4]Porting Xentrace to kvm

2008-03-16 Thread Avi Kivity
Liu, Eric E wrote: > >From 0d7f1ee470fe907e00ac6246bfa11e5322bc64fb Mon Sep 17 00:00:00 2001 > From: Feng (Eric) Liu <[EMAIL PROTECTED]> > Date: Sat, 15 Mar 2008 06:07:33 -0400 > Subject: [PATCH] KVM: Add some trace entries in current code, when the > KVM_TRACE > compilation option is enabled, it o

Re: [kvm-devel] [PATCH RFC 0/4]Porting Xentrace to kvm

2008-03-16 Thread Avi Kivity
Liu, Eric E wrote: > Hi, > The following patches port xentrace to kvm which is useful for > performance tuning and debugging. > > It is designed to allow debugging traces of kvm to be generated on > Up/Smp machines. Each trace entry is outputted in a trace ring buffer > for per cpu which is mapped

Re: [kvm-devel] [PATCH] KVM: Add reset support for in kernel PIT

2008-03-16 Thread Avi Kivity
Yang, Sheng wrote: > On Sunday 16 March 2008 22:36:57 Avi Kivity wrote: > >> Yang, Sheng wrote: >> >>> From 2d08f4266a8f47d9c52db9d4f629ab5d2f8fd044 Mon Sep 17 00:00:00 2001 >>> From: Sheng Yang <[EMAIL PROTECTED]> >>> Date: Thu, 13 Mar 2008 10:22:26 +0800 >>> Subject: [PATCH] KVM: Add rese

Re: [kvm-devel] [PATCH] KVM: Add reset support for in kernel PIT

2008-03-16 Thread Yang, Sheng
On Sunday 16 March 2008 22:36:57 Avi Kivity wrote: > Yang, Sheng wrote: > > From 2d08f4266a8f47d9c52db9d4f629ab5d2f8fd044 Mon Sep 17 00:00:00 2001 > > From: Sheng Yang <[EMAIL PROTECTED]> > > Date: Thu, 13 Mar 2008 10:22:26 +0800 > > Subject: [PATCH] KVM: Add reset support for in kernel PIT > > > >

Re: [kvm-devel] [ANNOUNCE] kvm-guest-drivers-linux-1

2008-03-16 Thread Avi Kivity
Paul Collins wrote: > Iain Paton <[EMAIL PROTECTED]> writes: > > >> Trying to build against 2.6.24 gives the following: >> >> CC [M] /root/kvm/kvm-guest-drivers-linux-1/virtio_net.o >> /root/kvm/kvm-guest-drivers-linux-1/virtio_net.c: In function 'receive_skb': >> /root/kvm/kvm-guest-driver

Re: [kvm-devel] [PATCH] KVM: Add reset support for in kernel PIT

2008-03-16 Thread Avi Kivity
Yang, Sheng wrote: > From 2d08f4266a8f47d9c52db9d4f629ab5d2f8fd044 Mon Sep 17 00:00:00 2001 > From: Sheng Yang <[EMAIL PROTECTED]> > Date: Thu, 13 Mar 2008 10:22:26 +0800 > Subject: [PATCH] KVM: Add reset support for in kernel PIT > > Separate the reset part and prepare for reset support. > > >

[kvm-devel] She will want more and more of you

2008-03-16 Thread Trisha Savage
Women want men with a big tool between their pants, so make sure you measure up. http://www.polifena.com/ Feel the love coming from her- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual St

Re: [kvm-devel] [PATCH RFC 2/2] Hardware task switching support

2008-03-16 Thread Avi Kivity
Izik Eidus wrote: > >From 6a7207a0f3ee8af6ebafcec9d40a75b87f00a129 Mon Sep 17 00:00:00 2001 > From: Izik Eidus <[EMAIL PROTECTED]> > Date: Thu, 13 Mar 2008 02:34:21 +0200 > Subject: [PATCH] KVM: hardware task switching support > > Signed-off-by: Izik Eidus <[EMAIL PROTECTED]> > --- > arch/x86/kvm/

Re: [kvm-devel] [PATCH RFC 1/2] add functions to read and set the ldt

2008-03-16 Thread Avi Kivity
Izik Eidus wrote: > >From 28f36d30f8eef9c12afe52e183bf4c8405d113d2 Mon Sep 17 00:00:00 2001 > From: Izik Eidus <[EMAIL PROTECTED]> > Date: Thu, 13 Mar 2008 02:03:37 +0200 > Subject: [PATCH] KVM: vmx, svm add functions to read and set the ldt > > diff --git a/include/asm-x86/kvm_host.h b/include/asm

Re: [kvm-devel] [patch 0/3] QEMU balloon support

2008-03-16 Thread Avi Kivity
Marcelo Tosatti wrote: > This patchset resends Anthony's QEMU balloon support plus: > > - Truncates the target size to ram size > - Enables madvise() conditioned on KVM_ZAP_GFN ioctl > > Once mmu notifiers are in, KVM_ZAP_GFN isn't needed. So we have three possible situations: - zap needed,

Re: [kvm-devel] Qemu-kvm is leaking my memory ???

2008-03-16 Thread Avi Kivity
Zdenek Kabelac wrote: > Hello > > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels > (with many debug options) I've noticed that over the time my memory > seems to disappear somewhere. > > Here is my memory trace after boot and some time of work - thus memory > should be popula

Re: [kvm-devel] keymap nl-be bug/incomplete

2008-03-16 Thread Avi Kivity
Ben Budts wrote: > Hi, > > I've been having problems using the -vnc and -k nl-be... Since I've started > using KVM v.28 ... > > Lots of keys won't work and you get the following errors in your Host OS : > > Warning: no scancode found for keysym 249 > Warning: no scancode found for keysym 163 > War

Re: [kvm-devel] [patch 00/24] QEMU ACPI PCI hotplug support

2008-03-16 Thread Avi Kivity
Marcelo Tosatti wrote: > The following patchset allows PCI hot add/remove through ACPI (handled > by the acpiphp driver on Linux guests). > > Comments are welcome. > > Applied all, thanks. -- error compiling committee.c: too many arguments to function ---

Re: [kvm-devel] [PATCH] Move kvm_get_pit to libkvm.c common code

2008-03-16 Thread Avi Kivity
Jerone Young wrote: > This fixes compilation issues for PowerPC and other non x86 archs that do not > have in kernel pit. The pit code is added into the kvm_context in > kvm-common.h &the error causing the issue is coming from a definition in > qemu. This seems to be the proper fix as there is al

Re: [kvm-devel] [PATCH] shrinker support for the mmu cache

2008-03-16 Thread Avi Kivity
Marcelo Tosatti wrote: > On Wed, Mar 12, 2008 at 08:13:41PM +0200, Izik Eidus wrote: > >> this patch simply register the mmu cache with the shrinker. >> > > Hi Izik, > > Nice. > > I think you want some sort of aging mechanism here. Walk through all > translations of a shadow page clearing t

Re: [kvm-devel] [PATCH][QEMU] Use a separate device for in-kernel PIT

2008-03-16 Thread Avi Kivity
Yang, Sheng wrote: > And we got two choices in userspace: one ioctl to reset all kvm devices, or > one ioctl for each device. For we are separating in kernel device into > separate devices, seems the later is more proper. But would it bring other > troubles like inconsistent state for smp? > >

Re: [kvm-devel] [PATCH][QEMU] Use a separate device for in-kernel PIT

2008-03-16 Thread Avi Kivity
Anthony Liguori wrote: > Part of the feedback we received from Fabrice about the KVM patches for QEMU > is that we should create a separate device for the in-kernel APIC to avoid > having lots of if (kvm_enabled()) within the APIC code that were difficult to > understand why there were needed. > >

Re: [kvm-devel] [PATCH] x86: don't allow KVM_CLOCK without HAVE_KVM

2008-03-16 Thread Avi Kivity
Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Make KVM_CLOCK depend on HAVE_KVM. Otherwise a Voyager build can > fail with: > > CC arch/x86/kernel/asm-offsets.s > In file included from include2/asm/irqflags.h:59, > from /local/linsrc/next-20080314/include

Re: [kvm-devel] [PATCH] x86: kvmclock needs to include apic.h

2008-03-16 Thread Avi Kivity
Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > kvmclock needs to #include apic.h to prevent a build error: > > next-20080314/arch/x86/kernel/kvmclock.c:142: error: implicit declaration of > function 'setup_secondary_APIC_clock' > elan1.out:make[2]: *** [arch/x86/kernel/kvmclock.o