Re: [Qemu-devel] copy on write-but-no-change

2007-09-10 Thread Rob Landley
On Friday 07 September 2007 10:40:15 am Luke -Jr wrote: > I don't believe it's possible to make holes in sparse files explicitly. > The libc/OS only support it transparently when you jump to the end of a > file and begin writing there. Actually, I believe it should finally show up in the 2.6.23 ke

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

2007-09-10 Thread Jamie Lokier
Dan Kenigsberg wrote: > On Mon, Sep 10, 2007 at 12:47:51PM +0100, Natalia Portillo wrote: > > I don't see in what is it useful without KVM/KQEMU. > > It is not. I tried to be clear about it in my post. Sorry for not being > clearer. Some day it may be useful without KVM/KQEMU, but not for a long

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

2007-09-10 Thread Jamie Lokier
Paul Brook wrote: > > > What you really want to do is ask your virtualization module what > > > features it supports. > > > > Yes, that needs to be an additional filter. > > I'd have thought that would be the *only* interesting set for autodetection. If that means the same as the features which a

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

2007-09-10 Thread Natalia Portillo
Hi, On Mon, Sep 10, 2007 at 12:47:51PM +0100, Natalia Portillo wrote: I don't see in what is it useful without KVM/KQEMU. It is not. I tried to be clear about it in my post. Sorry for not being clearer. Ok now understood. And even with them there are some instructions that can't be accesib

Re: [Qemu-devel] Problems with MIPS full system emulation and breakpoints

2007-09-10 Thread Daniel Jacobowitz
On Fri, Apr 20, 2007 at 02:22:09PM -0400, Daniel Jacobowitz wrote: > I have an idea. When I was talking to Paul about breakpoints > recently, I noticed something very strange in the ARM port: it > continues to disassemble the instruction under a breakpoint after > generating the debug op. This is

Re: [Qemu-devel] Performance counter

2007-09-10 Thread Paul Brook
> > I'm using qemu at the moment to run a system for debugging purposes. I > > was wondering whether qemu does actually emulate the performance > > counters on IA32. Every time i try to read the value out, it > > consistently gives me zero even though i have written to the given model > > specifi

Re: [Qemu-devel] Does the -smp option use threads?

2007-09-10 Thread Paul Brook
On Monday 10 September 2007, lindalu wrote: > Is it means qemu simulate 8x smp in a single-thread,and the 8 virtual cpus > cannot excute dynamic translation parallel? > If use a single-thread simulate a virtual cpu,maybe the simulated cpus can > excute parallel. This was covered on this list recen

Re: [Qemu-devel] Does the -smp option use threads?

2007-09-10 Thread lindalu
Is it means qemu simulate 8x smp in a single-thread,and the 8 virtual cpus cannot excute dynamic translation parallel? If use a single-thread simulate a virtual cpu,maybe the simulated cpus can excute parallel. Wang Cheng Yeh wrote: > > Do you have plan to multi-thread? > > 2007/4/28, Paul Broo

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

2007-09-10 Thread Dan Kenigsberg
On Mon, Sep 10, 2007 at 12:47:51PM +0100, Natalia Portillo wrote: > I don't see in what is it useful without KVM/KQEMU. It is not. I tried to be clear about it in my post. Sorry for not being clearer. > And even with them there are some instructions that can't be accesible > without KQEMU/KVM p

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

2007-09-10 Thread Natalia Portillo
I don't see in what is it useful without KVM/KQEMU. And even with them there are some instructions that can't be accesible without KQEMU/KVM prepared for them. And, the -cpu option, should be enabled in x86 and x86_64 to enable/disable emulation of instructions (and them cpuid adjusted to

Re: [Qemu-devel] question regarding odd CPU feature assignement

2007-09-10 Thread Dan Kenigsberg
Thanks! On Mon, Sep 10, 2007 at 10:55:55AM +0200, Filip Navara wrote: > It's not a typo. The short story is that there are two CPUID feature > registers - 1/EDX and 0x8001/EDX - that differ slightly. The later one > was first used by AMD CPUs and mostly enhanced by adding new features to > pro

Re: [Qemu-devel] question regarding odd CPU feature assignement

2007-09-10 Thread Filip Navara
It's not a typo. The short story is that there are two CPUID feature registers - 1/EDX and 0x8001/EDX - that differ slightly. The later one was first used by AMD CPUs and mostly enhanced by adding new features to processors from the said company (3DNow and such). The first one was introduced by

Re: [Qemu-devel] Performance counter

2007-09-10 Thread Filip Navara
Hi, the performance registers aren't implemented on QEMU. Best regards, Filip Navara On 9/10/07, Peter Nguyen <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using qemu at the moment to run a system for debugging purposes. I > was wondering whether qemu does actually emulate the performance > counte

Re: [Qemu-devel] [PATCH] EEPRO 100 emulation

2007-09-10 Thread Filip Navara
Here it is. Best regards, Filip Navara On 9/10/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: > > Filip Navara wrote: > > Not sure if this is usefull, but the Darwin network driver uses the > "flow > > control" registers, so it's not good idea to bail out and stop the > emulation > > if they're acc

[Qemu-devel] expose host CPU features to guests: Take 2

2007-09-10 Thread Dan Kenigsberg
As with Take 1 of this patch, its purpose is to expose host CPU features to guests. It proved rather helpful to KVM in various benchmarks, and it should similarly speed kqemu up. Note that it does not extend the set of emulated opcodes, only exposes what's supported by the host CPU. I changed the