[kvm-devel] [ kvm-Bugs-1689684 ] 64bit problem

2007-03-28 Thread SourceForge.net
Bugs item #1689684, was opened at 2007-03-28 10:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1689684&group_id=180599 Please note that this message will contain a full copy

[kvm-devel] [ kvm-Bugs-1689688 ] bug using vnc

2007-03-28 Thread SourceForge.net
Bugs item #1689688, was opened at 2007-03-28 10:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1689688&group_id=180599 Please note that this message will contain a full copy

[kvm-devel] [ kvm-Bugs-1689714 ] further bug using vnc

2007-03-28 Thread SourceForge.net
Bugs item #1689714, was opened at 2007-03-28 10:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1689714&group_id=180599 Please note that this message will contain a full copy

Re: [kvm-devel] portability layer?

2007-03-28 Thread Hollis Blanchard
On Tue, 2007-03-27 at 08:57 +0200, Avi Kivity wrote: > Hollis Blanchard wrote: > > Hi Avi, I was wondering what you think is the right abstraction layer to > > target for porting KVM to non-x86 architectures? To me it looks like > > libkvm is the answer. > > > > The kernel/userland interface is hea

Re: [kvm-devel] portability layer?

2007-03-28 Thread Arnd Bergmann
On Wednesday 28 March 2007, Hollis Blanchard wrote: > > I don't see a big difference between the ioctl layer and libkvm.  In > > general, a libkvm function is an ioctl, and kvm_callback members are a > > decoding of kvm_run fields.  If you edit kvm_run to suit your needs, you > > can probably re

Re: [kvm-devel] VT-x and Performance counter interrupt in KVM mode

2007-03-28 Thread Stephane Eranian
Avi, On Tue, Mar 27, 2007 at 07:10:58PM +0200, Avi Kivity wrote: > >> > > > >The Performance counters (PMU) cannot be fully virtualized, they need to > >run on the actual MSR registers. The PMU interrupt is controlled by the > >local APIC. To get overflow-based sampling to work in a guest, we

Re: [kvm-devel] portability layer?

2007-03-28 Thread Avi Kivity
Hollis Blanchard wrote: > On Tue, 2007-03-27 at 08:57 +0200, Avi Kivity wrote: > >> Hollis Blanchard wrote: >> >>> Hi Avi, I was wondering what you think is the right abstraction layer to >>> target for porting KVM to non-x86 architectures? To me it looks like >>> libkvm is the answer. >>>

Re: [kvm-devel] VT-x and Performance counter interrupt in KVM mode

2007-03-28 Thread Avi Kivity
Stephane Eranian wrote: > >> As I'd rather not do that, perhaps we can program the apic to issue an >> nmi instead of an interrupt while in guest mode. On receipt of nmi, we >> can call the host perfmon handler directly to interpret the performance >> counters. >> >> > Yes, but that wou

Re: [kvm-devel] kvm-devel Digest, Vol 6, Issue 61

2007-03-28 Thread Casey Jeffery
I was messing around with using the perf counters a couple weeks ago as a way to get deterministic exits in the instruction stream of the guest. I used the h/w msr save/restore area to disable the counters and save the values on guest exit and restore them on entry. I also set up the LVT to deliver

[kvm-devel] [RFT] Possible fix for 32-bit guests

2007-03-28 Thread Avi Kivity
Attached is a patch that fixes problems with 32-bit guests on 64-bit hosts. For example, I got damn small linux 0.4.10 to boot with this; previously it segfaulted during init. If you have issues with 32-bit guests, please test with this patch and report. Even if you don't have any issues, te

Re: [kvm-devel] portability layer?

2007-03-28 Thread Hollis Blanchard
On Wed, 2007-03-28 at 17:48 +0200, Avi Kivity wrote: > Hollis Blanchard wrote: > > On Tue, 2007-03-27 at 08:57 +0200, Avi Kivity wrote: > >> > >> I don't think we should be aiming at full source portability. > >> Virtualization is inherently nonportable, and as it is mostly done in > >> hardware

Re: [kvm-devel] [PATCH] interrupt preemption support

2007-03-28 Thread Dor Laor
>Avi Kivity wrote: >> Gregory Haskins wrote: >>> Hi Avi, >>> You make good points. I will convert to a nest lock design and >>> resubmit. Should I use two mutexes, or a mutex and spinlock? >>> >>> Also, do you have any suggestions on the signum I should use to IPI >>> the running guest? Shoul

Re: [kvm-devel] kvm-18 breaks Cisco VPN on WinXP SP1

2007-03-28 Thread Leslie Mann
Avi Kivity <[EMAIL PROTECTED]> writes: > > Can you run qemu under strace -ttT? Be prepared for a long log. > > Also, checking with the -no-kvm option is worthwhile. Avi: Can't run under strace. XP starts to boot then blue screens complaining of an infinite loop in the cirrus driver. I have a

Re: [kvm-devel] kvm-18 breaks Cisco VPN on WinXP SP1

2007-03-28 Thread Avi Kivity
Leslie Mann wrote: > Avi Kivity <[EMAIL PROTECTED]> writes: > > >> Can you run qemu under strace -ttT? Be prepared for a long log. >> >> Also, checking with the -no-kvm option is worthwhile. >> > > Avi: > > Can't run under strace. XP starts to boot then blue screens complaining of an > in

Re: [kvm-devel] portability layer?

2007-03-28 Thread Avi Kivity
Hollis Blanchard wrote: >> No, I'm saying that some #ifdeffery in both libkvm and the ioctl >> interface is unavoidable. >> > > If by #ifdeffery you mean having per-architecture definitions of > structures like kvm_regs, absolutely. If you mean literal #ifdefs in the > middle a header file, I