Re: [Qemu-devel] Profiling Qemu for speed?

2005-04-17 Thread Karl Magdsick
Ideally, we could force gcc to implement switch statements as indirect jumps with jump tables inline with the code. However, this may not be possible. I think Nathaniel was just saying that gcc is likely generating several hundred sequential if-else blocks for large switch statements. This gives

Re: [Qemu-devel] Windows XP Home on qemu 0.6.0 and Mac OS X 10.3.8

2005-04-30 Thread Karl Magdsick
http://fabrice.bellard.free.fr/qemu/kqemu-doc.html indicates kqemu is only for x86 Linux 2.4.x and Linux 2.6.x, not PPC Xnu 7.9.x. Qemu 0.6.0 might also be too old to take advantage of kqemu. If he used the installer from Free OS Zoo, this would seem to indicate he doesn't know which compile opt

Re: [Qemu-devel] Re: QEMU 0.7.2

2005-09-12 Thread Karl Magdsick
> (SDL is more-or-less considered obsolete in general, iiuc Fabrice wants the > windows port of qemu to use the Win32API natively to handle graphics, while > on *nix systems an X toolkit (such as Qt or GTK) is preferred.) Out of curiosity, has GTK on Win32 been considered? -Karl __

Re: [Qemu-devel] About qemu emulation speed (a question) and supported OS

2005-09-15 Thread Karl Magdsick
> VMware handles kernel code. You are right that x86 code can't be 100% > virtualized > (even at the userland level) but VMware uses a lot of nasty disgusting tricks > in order to work around them. (For example, playing with shadow pagetables > so that a page of modified code is run but if the cod

Re: [Qemu-devel] harddrives and QEMU

2005-10-06 Thread Karl Magdsick
> > > Alright, but here's the rub. If a drive can be booted by a machine. Why > can't it boot from Qemu if it's accessing the raw disk via the windows > interface? This needs no messing with bios or disksize to boot of a > regular machine. > I hope someone else will chime in, but my guess is that

Re: [Qemu-devel] harddrives and QEMU

2005-10-06 Thread Karl Magdsick
I wrote: > In order to pass the "D drive" to qemu, and actually give QEMU access > to the entire raw HD, the "D drive" partition would have to fill the entire > HD, and MS Windows would have to make the MBR available as part > of the first (only, in this case) partition on the HD. Here I'm of cour

Re: [Qemu-devel] Bug report

2005-11-01 Thread Karl Magdsick
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc. Also, the current qemu code generator is an ugly hack that relies on some specifics of gcc 3.x function implementation. There is work being done on a _real_ code generator for qemu. -Karl On 11/1/05, Julien Lancien

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-25 Thread Karl Magdsick
Depends on if you're using the LP64 model (64-bit Linux, many other *NIX) or the LLP64 model (Win64). I guess Microsoft decided there was more code written for their system that assumed longs were 32-bit than code that assumed pointers could be stored in (unsigned) longs. For 64-bit MS Windows