KVM Virtual CPU time profiling

2010-01-21 Thread Saksena, Abhishek
Hi All, Is there a way in KVM to measure the real physical (CPU) time consumed by each running Virtual CPU? (I want to do time profiling of the virtual machines running on host system) Also, is there an explanation somewhere on how Virtual CPU scheduling is achieved in KVM? Thanks Abhishek

GDB Debugging

2009-10-23 Thread Saksena, Abhishek
Hi Guys, Any help will be appreciated on following issue. I have been struggling on this for quite some time... -Abhishek -Original Message- From: Saksena, Abhishek Sent: Tuesday, October 20, 2009 11:49 AM To: 'Jan Kiszka' Cc: kvm@vger.kernel.org Subject: GDB + KVM Debug I have

GDB + KVM Debug

2009-10-20 Thread Saksena, Abhishek
I have now tried using both Set arch i8086 and Set arch i386:x86-64:intel But still see the same issue. Do I need to apply any patch? Abhishek -Original Message- From: Jan Kiszka [mailto:jan.kis...@siemens.com] Sent: Thursday, September 17, 2009 1:36 AM To: Saksena, Abhishek Cc

KVM Support for windows

2009-10-05 Thread Saksena, Abhishek
I would like to know is there a plan for KVM to be supported under Windows(host OS)? If yes, by when? -Thanks Abhishek -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

GDB + KVM Debug

2009-09-16 Thread Saksena, Abhishek
Hi All, I see Qemu support GDB server that allows debugging kernels, boot loaders and others. Is this kind of support is available when KVM is enabled. For some reason the single stepping of instructions doesn't seem to work when KVM is in use. So what debug capabilities (for Guest SW) KVM

RE: GDB + KVM Debug

2009-09-16 Thread Saksena, Abhishek
(gdb) Any help will be appreciated! Thanks Abhishek -Original Message- From: Jan Kiszka [mailto:jan.kis...@siemens.com] Sent: Wednesday, September 16, 2009 9:37 AM To: Saksena, Abhishek Cc: kvm@vger.kernel.org Subject: Re: GDB + KVM

KVM and Qemu Synchronization

2009-09-02 Thread Saksena, Abhishek
Hi All, I am interested to know how the KVM Synchronize with Qemu. I know KVM maintain the time in PIT/RTC and Qemu it's own thread for IO devices callback (using alarm timers).  How it is guaranteed that Qemu maintained view of time is not passing to slow or too fast w.r.t KVM VCPu. Also,

RE: KVM and Qemu Synchronization

2009-09-02 Thread Saksena, Abhishek
Thanks for the reply. Can keeping device models and KVM pit synchronize with the host clock result in any issues with booting up OSes? -Abhishek -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Wednesday, September 02, 2009 12:16 PM To: Saksena, Abhishek Cc: 'kvm

RE: KVM and Qemu Synchronization

2009-09-02 Thread Saksena, Abhishek
Correction to question:- Can keeping device models and KVM pit synchronize with the host clock separately result in any issues with booting up OSes? -Abhishek -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Saksena, Abhishek Sent

RE: KVM's PIT and PIC programming question

2009-08-20 Thread Saksena, Abhishek
, Abhishek Cc: kvm@vger.kernel.org Subject: Re: KVM's PIT and PIC programming question On 08/20/2009 12:26 AM, Saksena, Abhishek wrote: Hi Guys, I am writing very simple bios for KVM (not using Qemu but creating a simple io device models around KVM). I am having trouble in receiving regular Timer

RE: KVM's PIT and PIC programming question

2009-08-20 Thread Saksena, Abhishek
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Thursday, August 20, 2009 8:21 AM To: Saksena, Abhishek Cc: kvm@vger.kernel.org Subject: Re: KVM's PIT and PIC programming question On 08/20/2009 06:05 PM, Saksena, Abhishek wrote: Isn't by default PIT and PIC are initialized

RE: KVM's PIT and PIC programming question

2009-08-20 Thread Saksena, Abhishek
or Timer ISR being called! -thanks Abhishek -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Thursday, August 20, 2009 10:26 AM To: Saksena, Abhishek Cc: kvm@vger.kernel.org Subject: Re: KVM's PIT and PIC programming question On 08/20/2009 07:49 PM, Saksena, Abhishek

KVM's PIT and PIC programming question

2009-08-19 Thread Saksena, Abhishek
Hi Guys, I am writing very simple bios for KVM (not using Qemu but creating a simple io device models around KVM). I am having trouble in receiving regular Timer interrupts after programming PIT. I think I have enabled PIC and PIT correctly using following code:- PIC Programming ;; PIC   mov 

KVM bug

2009-07-23 Thread Saksena, Abhishek
Hi I am trying to boot a patched version of Boch's BIOS on KVM. It works fine with Qemu with -no-kvm option. However I get following with KVM unhandled vm exit: 0x8021 vcpu_id 0 rax rbx 133a rcx rdx 0008 rsi 0008 rdi

KVM Irq injection

2009-07-21 Thread Saksena, Abhishek
Hi, I am building some device models around the KVM and am intersted in injecting IRQs. The current LibKVM.h provides following function int kvm_inject_irq (

VGA address mapping?

2009-07-21 Thread Saksena, Abhishek
Hi I am implementing a VGA Device model. The model provides functions to read/write VGA memory space. Just for testing I want to capture memory reads/writes to addresses 0xA-0xC and forward it to my VGA model. I have used following function to create physical ram int kvm_create (

RE: VGA address mapping?

2009-07-21 Thread Saksena, Abhishek
Would also like to mention I am not using Qemu and building some basic IO models around KVM (only using libkvm.h) -Abhishek From: Saksena, Abhishek Sent: Tuesday, July 21, 2009 11:13 AM To: kvm@vger.kernel.org Subject: VGA address mapping? Hi I am implementing