Re: [Qemu-devel] missing key in QEMU / Ubuntu host, XP guest, please help!

2007-03-25 Thread Christian MICHON
you could use "sendkey" in the monitor console of qemu. This is the only way on xp host to send a "ctrl-alt-delete" to a xp guest to login... On 2/10/07, Georg Schlomka <[EMAIL PROTECTED]> wrote: Hi! We use Qemu un an Ubuntu host and want to run XP guests. No problems there. But the most import

Re: [Qemu-devel] qemu keyboard problem

2007-03-25 Thread Christian MICHON
1) go into the monitor of qemu (ctrl-alt-2) 2) key in: sendkey ctrl-alt-f1 3) go back to the emulated screen (ctrl-alt-1) it should have swapped back to text mode. sorry for the late reply, but your email just made it now to the mailing list. On 3/14/07, Halim Sahin <[EMAIL PROTECTED]> wrote: H

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Christian MICHON
On 3/26/07, Kyle Hubert <[EMAIL PROTECTED]> wrote: It does work in cirrus mode for 1024x768. I was under the impression that it was all the cirrus driver would support. However, the std-vga mode supports vga 799 and 798 in the console. (1600x1200:24bpp and 1600x1200:16bpp respectively) The X dri

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Kyle Hubert
It does work in cirrus mode for 1024x768. I was under the impression that it was all the cirrus driver would support. However, the std-vga mode supports vga 799 and 798 in the console. (1600x1200:24bpp and 1600x1200:16bpp respectively) Here is the output from dmesg showing the console working:

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Kyle Hubert
On 3/25/07, Christian MICHON <[EMAIL PROTECTED]> wrote: On 3/26/07, Kyle Hubert <[EMAIL PROTECTED]> wrote: > Hi, I'm working with QEMU on an XFree86 machine. I was desirous of > having 1600x1200 working in the virtual machine, so I looked at using > the -std-vga option with the "vesa" X driver. >

[Qemu-devel] [RFC] support more than 2 execution modes

2007-03-25 Thread J. Mayer
It appears that some targets may need more than the 2 "standard" execution modes. For example, PowerPC 64 has 3 execution modes: hypervisor, supervisor and problem state. Another example is alpha which has 4 execution modes (even if Linux seems to use only two of them). My proposal is to increase

[Qemu-devel] [RFC] Handling more than one internal CPU timer.

2007-03-25 Thread J. Mayer
Embedded PowerPC have the need of implementing 3 timers in the core area: - a fixed interval timer - a programable interval timer - a watchdog timer Those 3 timers are fully independant and can raise different exceptions (eventually at the same time). For this reason, they cannot be implemented pro

Re: [Qemu-devel] Moving pre-installed Windows to qemu?

2007-03-25 Thread Christian MICHON
quite impossible: the hardware inside qemu guest would be different with the real hardware of the laptop. worst case: error 7b and blue screen. it will not go further, and it means you need to reinstall everything. best case: it moves further in safe mode, but then you'll need the xp cdrom for i

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Christian MICHON
On 3/26/07, Kyle Hubert <[EMAIL PROTECTED]> wrote: Hi, I'm working with QEMU on an XFree86 machine. I was desirous of having 1600x1200 working in the virtual machine, so I looked at using the -std-vga option with the "vesa" X driver. While initializing X, I get the following: (...) could you

[Qemu-devel] USB storage cause kernel BUG "soft lockup detected on CPU#0!" in Linux guest domain

2007-03-25 Thread Yu, Xiaoyang
Hi Lonnie, Thanks a lot for your help on the UHCI suspend/resume support :-) I found another problem in QEMU USB support :-( I have 5 different types of USB disks at hand. Two of them can be used properly in Linux and Windows XP guest OS. But other three are not. After issue "usb_add" t

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works

2007-03-25 Thread Axel Zeuner
Hi Anthony, On Monday 26 March 2007 01:44, you wrote: > Axel Zeuner wrote: > > On Saturday 24 March 2007 21:15, Anthony Liguori wrote: > >> The tricky thing I still can't figure out is how to get ASM_SOFTMMU > >> working. The problem is GLUE(st, SUFFIX) function. First GCC cannot > >> deal with

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works

2007-03-25 Thread Axel Zeuner
Hi Anthony, On Monday 26 March 2007 01:46, you wrote: > Axel Zeuner wrote: > > On Saturday 24 March 2007 21:15, Anthony Liguori wrote: > >> Axel Zeuner wrote: > >>> Hi, > >> > > > Furthermore I think one should move helper_pshufw() from > > target-i386/helper2.c into target-i386/helper.c where all

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Ben Taylor
Anthony Liguori <[EMAIL PROTECTED]> wrote: > Kyle Hubert wrote: > > Hi, I'm working with QEMU on an XFree86 machine. I was desirous of > > having 1600x1200 working in the virtual machine, so I looked at using > > the -std-vga option with the "vesa" X driver. > > You probably have to increas

Re: [Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Anthony Liguori
Kyle Hubert wrote: Hi, I'm working with QEMU on an XFree86 machine. I was desirous of having 1600x1200 working in the virtual machine, so I looked at using the -std-vga option with the "vesa" X driver. You probably have to increase your hsync and vrefresh ranges. Regards, Anthony Liguori Wh

Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL

2007-03-25 Thread Anthony Liguori
andrzej zaborowski wrote: Hi, sorry for late reply. On 21/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: Do you think using the SDL cursor is all that useful? As soon as gtk widgets get involved, the cursor becomes ARGB so in practice, I'm not sure that it's all that helpful. It's pretty

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works

2007-03-25 Thread Anthony Liguori
Axel Zeuner wrote: On Saturday 24 March 2007 21:15, Anthony Liguori wrote: Axel Zeuner wrote: Hi, Hi Axel, By adding some GCC4 fixes on top of your patch, I was able to get qemu for i386 (on i386) to compile and run. So far, I've only tested a win2k guest. Hi Anthony, t

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works

2007-03-25 Thread Anthony Liguori
Axel Zeuner wrote: On Saturday 24 March 2007 21:15, Anthony Liguori wrote: The tricky thing I still can't figure out is how to get ASM_SOFTMMU working. The problem is GLUE(st, SUFFIX) function. First GCC cannot deal with the register pressure. The problem I can't seem to fix though is that

[Qemu-devel] QEMU + -std-vga + XFree86

2007-03-25 Thread Kyle Hubert
Hi, I'm working with QEMU on an XFree86 machine. I was desirous of having 1600x1200 working in the virtual machine, so I looked at using the -std-vga option with the "vesa" X driver. While initializing X, I get the following: (II) VESA(0): Primary V_BIOS segment is: 0xc000 (II) VESA(0): VESA BIO

Re: [Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile).

2007-03-25 Thread Thiemo Seufer
Thiemo Seufer wrote: > Carlos O'Donell wrote: > > > > The following patch implements Win32 locking for vl.c (create_pidfile). > > Builds for mingw32, and tested on a Windows Server 2003 host by running > > two qemu's with the same -pidfile option. > > > > When cross-compiling the use of --enable-

Re: [Qemu-devel] Patch: cpu-all.h for better cycle counter

2007-03-25 Thread andrzej zaborowski
On 26/03/07, andrzej zaborowski <[EMAIL PROTECTED]> wrote: Hi, On 21/03/07, Todd T. Fries <[EMAIL PROTECTED]> wrote: > This is relative to the 20070319 snapshot. > > --- cpu-all.h.orig Fri Mar 16 18:58:11 2007 > +++ cpu-all.h Tue Mar 20 21:14:10 2007 > @@ -1012,13 +1012,22 @@ static inlin

Re: [Qemu-devel] Patch: cpu-all.h for better cycle counter

2007-03-25 Thread andrzej zaborowski
Hi, On 21/03/07, Todd T. Fries <[EMAIL PROTECTED]> wrote: This is relative to the 20070319 snapshot. --- cpu-all.h.orig Fri Mar 16 18:58:11 2007 +++ cpu-all.h Tue Mar 20 21:14:10 2007 @@ -1012,13 +1012,22 @@ static inline int64_t cpu_get_real_ticks #endif } #else -/* The host CPU does

Re: [Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile).

2007-03-25 Thread Thiemo Seufer
Carlos O'Donell wrote: > > The following patch implements Win32 locking for vl.c (create_pidfile). > Builds for mingw32, and tested on a Windows Server 2003 host by running > two qemu's with the same -pidfile option. > > When cross-compiling the use of --enable-mingw32 should effect AIOLIBS, > ot

[Qemu-devel] qemu osdep.c osdep.h vl.c

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 21:33:06 Modified files: . : osdep.c osdep.h vl.c Log message: qemu_create_pidfile implementation for Win32, based on a patch by Carlos O'Donell. CVSWeb URLs: http

[Qemu-devel] qemu configure

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 20:55:00 Modified files: . : configure Log message: Move determination of AIOLIBS until after all configure options have been handled. By Carlos O'Donell. CVSWeb

Re: [Qemu-devel] QEMU/pc and scsi disks

2007-03-25 Thread Thiemo Seufer
Anthony Liguori wrote: > Joe Batt wrote: > >I disagree. /bin/sh makes a very flexible config file format that I > >use. I use it on win32, Linux and Mac OS X. > > The problem with only taking command line arguments is that the number > and size of command line arguments are severely limited on

[Qemu-devel] qemu vl.c

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 20:27:04 Modified files: . : vl.c Log message: Fix segfault with -nographic, by Enache Adrian. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1

Re: [Qemu-devel] a question

2007-03-25 Thread Jan Marten Simons
Marian-Nicolae V. Ion schrieb: Hello, Is is possible to boot qemu not from a disk image but directly from a partition ? i.e. I am on Linux Fedora, I have a partition with Mandriva (I use dual-boot and I can boot on it) but I would like to start my Mandriva system from qemu, not by rebooting the

[Qemu-devel] list hicups again?

2007-03-25 Thread Jan Marten Simons
Hi, today I got about 120 old mails on this list, which seem to have been stuck somewhere. There are some patches and bugreports amongst them. I suspect most of the mails were delayed either because some spamfilter quarantined them or all of those mails originate from people who are not subsc

Re: [Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile).

2007-03-25 Thread Anthony Liguori
Carlos O'Donell wrote: The following patch implements Win32 locking for vl.c (create_pidfile). Builds for mingw32, and tested on a Windows Server 2003 host by running two qemu's with the same -pidfile option. When cross-compiling the use of --enable-mingw32 should effect AIOLIBS, otherwise the b

Re: [Qemu-devel] Re: [PATCH] Reducing X communication bandwidth, take 2

2007-03-25 Thread Anthony Liguori
Brian Johnson wrote: Paul Brook wrote: Will this work also for the CL542x adaptor? (Does that fall in the category of vga?) My current hack works for with/without -std-vga and I think that's because it lives "underneath" both, in the connection to SDL. Each adapter will have to do it's own

Re: [Qemu-devel] [PATCH] Support VNC PointerTypeChange psuedo-encoding

2007-03-25 Thread Anthony Liguori
Ramesh Dharan wrote: I implemented new client->server messages for the (1) and (2), and I should have read more carefully. This means that you're not a compliant RFB server ATM. I guess that means there isn't a point registering the pseudo-encodings you are currently using since you hav

Re: [Qemu-devel] QEMU/pc and scsi disks

2007-03-25 Thread Anthony Liguori
Joe Batt wrote: I disagree. /bin/sh makes a very flexible config file format that I use. I use it on win32, Linux and Mac OS X. The problem with only taking command line arguments is that the number and size of command line arguments are severely limited on certain platforms. This is why a

Re: [Qemu-devel] [PATCH] Choose emulated MIPS CPU at runtime

2007-03-25 Thread Thiemo Seufer
Stefan Weil wrote: [snip] > Perhaps some readers of the list have more information? > >> I noticed this because some code using DI worked well with QEMU, > >> but my AR7 based DSL router crashed... > > Did it die with an RI exception? If not then it sounds more like > > a missing ehb barrier. Qemu

Re: [Qemu-devel] [Bug] [Patch] MIPS code fails at branch instruction

2007-03-25 Thread Thiemo Seufer
Stuart Brady wrote: > On Sun, Mar 25, 2007 at 03:43:16AM +0200, Aurelien Jarno wrote: > > Thiemo Seufer a écrit : > [...] > > > - Execute the second branch's delay slot instruction. Increment PC. > [...] > > I'm surprised that this step would be there -- I would have expected it > to be simpler t

Re: [Qemu-devel] [PATCH] Support VNC PointerTypeChange psuedo-encoding

2007-03-25 Thread Anthony Liguori
Ramesh Dharan wrote: [EMAIL PROTECTED] wrote: This extension is documented at http://tocm.wikidot.com/pointertypechange VMware has a very similar extension for their remote console. I believe that Ramesh Dharan (whom I've CCed) at some point implemented it in one or more open sourc

[Qemu-devel] Mailing list gone crazy?

2007-03-25 Thread Hetz Ben Hamo
I just looked at my QEMU mailing list folder, and so far today I have received more then 60 emails today, most of it from past months.. Has someone restarted the mailman or what? :) (I admit it was fun a bit to see the progress of QEMU by following some old emails..) Thanks, Hetz -- Skepticism

[Qemu-devel] qemu configure

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 16:15:21 Modified files: . : configure Log message: Typo in configure, by Nicholas Sauzede. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemu&r1

[Qemu-devel] qemu kqemu.c

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 16:14:07 Modified files: . : kqemu.c Log message: Improved kqemu error message, by Robert Millan. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/kqemu.c?cvsroot=qem

[Qemu-devel] qemu vl.c

2007-03-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/25 15:58:03 Modified files: . : vl.c Log message: Windows sockets like to be different. Inspired by a patch from Alex Consul. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcv

Re: [Qemu-devel] please review smc91c111 network bug fix

2007-03-25 Thread Aurelien Jarno
Wang Cheng Yeh a écrit : > address mapping error and cause arm versatile unstable. > This patches looks ok to me, at least it corresponds to what the datasheet says. I am using it for a few hours, I have seen no regression so far. > > Index: hw/smc91c111.c >

[Qemu-devel] [PATCH][SPARC] Fix the shift instructions for the SPARC target

2007-03-25 Thread Aurelien Jarno
Hi all, The shift instructions on the SPARC target currently take into account the whole register as the shift count. According to the SPARC v8 and v9 manuals, only the lower 5 bits should be taken into account for 32-bit instructions (SLL, SRL, SRA), and only the lower 6 bits for 64-bit instruc

[Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile).

2007-03-25 Thread Carlos O'Donell
The following patch implements Win32 locking for vl.c (create_pidfile). Builds for mingw32, and tested on a Windows Server 2003 host by running two qemu's with the same -pidfile option. When cross-compiling the use of --enable-mingw32 should effect AIOLIBS, otherwise the build will use "-lrt" and

[Qemu-devel] Patch: osdep.h for OpenBSD

2007-03-25 Thread Todd T. Fries
This is relative to the 20070319 snapshot. --- osdep.h.origMon Feb 5 17:01:54 2007 +++ osdep.h Sat Mar 10 16:39:40 2007 @@ -2,6 +2,10 @@ #define QEMU_OSDEP_H #include +#ifdef __OpenBSD__ +#include +#include +#endif #define qemu_printf printf -- Todd Fries .. [EMAIL PROTEC

[Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-03-25 Thread Todd T. Fries
This is relative to the 20070319 snapshot. --- dyngen-exec.h.orig Mon Feb 5 17:01:54 2007 +++ dyngen-exec.h Sat Mar 10 16:39:39 2007 @@ -27,11 +27,15 @@ #define _FILEDEFED #endif +#include "config.h" + /* NOTE: standard headers should be used with special care at this point becau

[Qemu-devel] Patch: cpu-all.h for better cycle counter

2007-03-25 Thread Todd T. Fries
This is relative to the 20070319 snapshot. --- cpu-all.h.orig Fri Mar 16 18:58:11 2007 +++ cpu-all.h Tue Mar 20 21:14:10 2007 @@ -1012,13 +1012,22 @@ static inline int64_t cpu_get_real_ticks #endif } #else -/* The host CPU doesn't have an easily accessible cycle counter. - Just return

[Qemu-devel] Patch: block-raw.c for OpenBSD

2007-03-25 Thread Todd T. Fries
This is relative to the 20070319 snapshot, mostly from Enache Adrian, 3n4ch3 at gmail dot com .. --- block-raw.c.origMon Mar 12 16:16:47 2007 +++ block-raw.c Tue Mar 20 19:16:43 2007 @@ -25,7 +25,9 @@ #include "block_int.h" #include #ifndef _WIN32 +#ifndef CONFIG_NO_AIO #include +#endif

Re: [Qemu-devel] [PATCH] fcntl64 fix

2007-03-25 Thread Kirill A. Shutemov
On [Tue, 20.03.2007 19:05], Stuart Anderson wrote: > Now that the dust has settled, I see where the change is probably a > no-op anyway. A quick little test program indicates that on x86_64, > l_start will have an offset of 8 wether the structure is packed or not, > and wether the __pad member is p

Re: [Qemu-devel] [PATCH] fcntl64 fix

2007-03-25 Thread Kirill A. Shutemov
On [Tue, 20.03.2007 21:47], Thiemo Seufer wrote: > Stuart Anderson wrote: > [snip] > > --- linux-user/syscall_defs.h.orig 2007-02-23 15:44:47.0 -0500 > > +++ linux-user/syscall_defs.h 2007-02-23 15:44:26.0 -0500 > > @@ -1414,7 +1414,9 @@ > > struct target_eabi_flock64 { > >

[Qemu-devel] Moving pre-installed Windows to qemu?

2007-03-25 Thread Stefan Monnier
[ The Wiki seems to be down "[Errno 28] No space left on device". ] As soon as I received my new laptop I began by shrinking its XP partition and installing Debian on it. Now, I don't intend to use XP on it ever, but my wife would need to do that occasionally. I'd rather be able to do it without

[Qemu-devel] Re: [PATCH] Reducing X communication bandwidth, take 2

2007-03-25 Thread Brian Johnson
Paul Brook wrote: Will this work also for the CL542x adaptor? (Does that fall in the category of vga?) My current hack works for with/without -std-vga and I think that's because it lives "underneath" both, in the connection to SDL. Each adapter will have to do it's own minimization but that's

[Qemu-devel] crash when run with the -nographic switch

2007-03-25 Thread Enache Adrian
ahq$ ./qemu -nographic -snapshot -fda serflp.fs Segmentation fault (core dumped) [...] (gdb) bt #0 console_putchar (s=0x8ae43000, ch=112) at /scrap/ahq/build/qemu/console.c:809 #1 0x1c01258a in console_puts (chr=0x0, buf=0xcfbd1e20 "parallel0 console\r\n", len=19) at /scrap/ahq/build/

Re: [Qemu-devel] Qemu + wireless

2007-03-25 Thread Shahar
S . P . T . Krishnan Sat, 05 Aug 2006 02:27:17 -0700 Hi Ben, Thanks for your insightful reply. Allow me to re-phrase my question. Hope you can comment further. Basically, we have a need to run a application that needs a wifi interface in a virtual machine. You can think of the application as

[Qemu-devel] QEMU console

2007-03-25 Thread Wesley Wu
Hi all, I'm running QEMU 0.9.0 under RHEL 4 (I SSH'ed to the Linux machine). If I issue the following command, it boots up but it won't show the command line prompt. qemu-system-sparc -L ..*/qemu/pc-bios/* -kernel ../qemu/sparc-test/vmlinux- 2.6.11+tcx -initrd ../qemu/sparc-test/linux.img -appe

Re: [Qemu-devel] support for non aio host os's?

2007-03-25 Thread Enache Adrian
On Fri, Mar 16, 2007 at 04:31:36PM -0500, Todd T. Fries wrote: > .. so now that aio is in, and whatever existed before is out, has anybody > come up with a way to support host os's that do not have aio? This is what I'm using. Just manage to have '#define CONFIG_NO_AIO 1' in ./config-host.h. Patc

Re: [Qemu-devel] [PATCH] Typo : fix recv and recvfrom syscalls in user emulation

2007-03-25 Thread Kirill A. Shutemov
On [Fri, 16.03.2007 13:46], Raphaël Rigo wrote: > Trivial patch following > > Regards, > Raphaël Rigo > > === > RCS file: /sources/qemu/qemu/linux-user/syscall.c,v > retrieving revision 1.89 > diff -u -r1.89 syscall.c > --- linux-use

[Qemu-devel] question with code translation

2007-03-25 Thread Qing Zhang
Does anyone know where the function gen_repz_movs(s, ot, pc_start - s->cs_base, s->pc - s->cs_base); is defined? or what's it's translated to? thanks in advance, -Qing

[Qemu-devel] CDC ethernet device support ?

2007-03-25 Thread Frédéric Blanchet-Momas
Hello We would use qemu and a target Linux platform with CDC Ethernet equipment. The host is Linux or Windows with libusb. When The device is plugged to the target system, the usb0 network interface is up, like a no-virtualized system, but all frames are marked in error. ifconfig usb0 -> usb

[Qemu-devel] kernel-kqemu causes kernel panic

2007-03-25 Thread Halim Sahin
Hi, Host system is a debian sid and guest is debian etch -kernel-kqemu does not work. I am getting a kernel panic. Please help. Thanks Halim PS. kqemu last Version and qemu from Debian.

[Qemu-devel] [PATCH] vgabios and PCI data.

2007-03-25 Thread Stefan Reinauer
attached patch to vgabios-0.6a adds the pci data structure to vga-cirrus.bin This is needed to boot LinuxBIOSv3 with VGA enabled on Qemu It seems the vgabios project has stalled, so I am sending this patch to this list as well. Can you update the vga-cirrus.bin image to include this pci data stru

[Qemu-devel] qemu keyboard problem

2007-03-25 Thread Halim Sahin
Hello, Yesterday I installed debian etch in a qemu virtual machine. How can I switch from an virtualized x-server under qemu to the virtualized text-console? If I type ctrl+alt+f1 the system switches to console 1 of the host. I need the console of the guest linux system. Thanks Halim

[Qemu-devel] Floppy geometry

2007-03-25 Thread Frode Vatvedt Fjeld
I stumbled upon a problem when trying to get Qemu to boot my homebrew kernel image. For certain sizes of floppy image files, the (still homebrew) bootloader failed to load the kernel properly. After quite a bit of searching, I believe I pinned the problem down to the fact that Qemu tries to adjust

[Qemu-devel] scsi patch

2007-03-25 Thread 王成業
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01: 54.0 +0800 +++ lsi53c895a.c2007-03-08 20:50:03.094098835 +0800 @@ -251,7 +251,7 @@ uint32_t ia; uint32_t sbc; uint32_t csbc; -uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */ +uint32_t scratch[18]; /

[Qemu-devel] scsi patch

2007-03-25 Thread 王成業
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01: 54.0 +0800 +++ lsi53c895a.c2007-03-08 20:50:03.094098835 +0800 @@ -251,7 +251,7 @@ uint32_t ia; uint32_t sbc; uint32_t csbc; -uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */ +uint32_t scratch[18]; /

[Qemu-devel] [PATCH] fcntl64 fix

2007-03-25 Thread Kirill A. Shutemov
TARGET_F_*64 should be used instead of F_*64, because on 64-bit host systems F_GETLK == F_GETLK64(same for SETLK and SETLKW), so we cannot determinate if it's a long lock or not on a target system. Patch in the attachment. P.S. Please, review my privious patches, which I have added description re

[Qemu-devel] Dual monitor support

2007-03-25 Thread James Pellow
Hi All, Recently I have been playing around with various virtualization products to fit my current needs. I have used qemu and kqemu casually many times in the past, but never used it for anything real serious. At this point I need to be able to run win2k in a virutal machine. Everything wo

[Qemu-devel] [PATCH] TPM TIS device model

2007-03-25 Thread Bernhard Kauer
This patch adds a TIS device model for a v1.2 TPM to qemu. It is based on the Xen patch from IBM and adopted by removing the Xen-specific stuff. It works with the tpmd daemon of the tpm-emulator package. The following things are still missing: * locality support * cmdline option for the socket na

[Qemu-devel] Patch: arm versatile video mode support

2007-03-25 Thread dmlist
Hi, The attached patch examines the kernel command line passed to qemu-system-arm, and changes the clcd register to match the CLCD video modes currently supported by then linux kernel: video=640x480 video=240x320 video=320x240 Perhaps someone has a more general or a better way of doing this.

[Qemu-devel] [PATCH] SunOS 4.x support

2007-03-25 Thread Peter Creath
Old versions of SunOS don't understand the "Sun4m with OBP" machine type of 0x80. They expect the machine type of actual Sun machines, e.g., 0x71 or 0x72. This patch adds a machine type to the Sparc target and renames the old machine to clarify that it's emulating an OBP platform rather than sta

[Qemu-devel] Floppy geometry detection and INT 13,8

2007-03-25 Thread Frode Vatvedt Fjeld
I stumbled upon a problem when trying to get Qemu to boot my homebrew kernel image. For certain sizes of floppy image files, the (still homebrew) bootloader failed to load the kernel properly. After quite a bit of searching, I believe I pinned the problem down to the fact that Qemu tries to adjust

Re: [Qemu-devel] [PATCH] Choose emulated MIPS CPU at runtime

2007-03-25 Thread Stefan Weil
Thiemo Seufer schrieb: > Stefan Weil wrote: >> There exists also an older 4KEc version which only supports >> >> MIPS32R1. AR7 (a SoC from TI) is based on this older version. > This can't be correct. 4KEc is defined as a MIPS32R2 core by MIPS > Technologies. A MIPS32R1 4KEc would be redundant since

[Qemu-devel] QEMU as an emulator

2007-03-25 Thread Pharaoh .
Hi I am new here. QEMU can bve used as a machine emulator and a visualizer. When we use QEMU as an emulator then does it mean using this we can run code for say ARM on a x86 based machine and QEMU will take care of the transalation? I am writing some drivers for ARM but I dont have any ARM based

[Qemu-devel] USB-Bluetooth dongle problem on linux guest

2007-03-25 Thread Yigael Fleishman
Hi All I've posted a message in the "QEMU For linux" forum regarding a USB-Bluetooth dongle problem I've been experiencing on a linux guest system. The response I received did not help much. I guess the developers mailing list might be a better place for this question. The message is located att:

Re: [Qemu-devel] QEMU/pc and scsi disks

2007-03-25 Thread Joe Batt
I disagree. /bin/sh makes a very flexible config file format that I use. I use it on win32, Linux and Mac OS X. I would prefer that you write another cross platform shell, than another config file. At least that way I could use the same config tool for more than one application. Everyt

[Qemu-devel] QEMU temporarily hangs

2007-03-25 Thread Uri Lublin
Hello, Second attempt (with minor modifications), as the first one did not arrive. I would like to share with you a QEMU problem I've encountered, and hope to get pointers where to look for it. I am running CVS QEMU, x86_64-softmmu, with vmdk image and redirected monitor (unix socket). I

[Qemu-devel] QEMU temporarily hang

2007-03-25 Thread Uri Lublin
Hello, I would like to share with you a QEMU problem I've encountered, and hope to get pointers where to look for it. I am running CVS QEMU, x86_64-softmmu, with vmdk image and redirected monitor (unix socket). If the guest is busy and I rapidly send a LOT of commands to QEMU monitor,

[Qemu-devel] Re: how to debug qemu?

2007-03-25 Thread Vita Batrla
Again me, I now see what the problem is, qemu doesn't update the status debug register dr6 on single step trap: Debug Status Register (DR6): The BS bit is associated with the TF (trap flag) bit of the EFLAGS register. The BS bit is set if the debug handler is entered due to the occurrence of a s

[Qemu-devel] how to debug qemu?

2007-03-25 Thread Vita Batrla
Hi, I'm running Solaris inside qemu (i386), Most of things work fine, exactly like on real machine, however, running modular debugger (mdb) on e.g. /bin/ls turns the virtual machine to worm brick every time I try it. Same procedure works fine on real hardware. The virtual machine is flooded by INT

[Qemu-devel] a question

2007-03-25 Thread Marian-Nicolae V. Ion
Hello, Is is possible to boot qemu not from a disk image but directly from a partition ? i.e. I am on Linux Fedora, I have a partition with Mandriva (I use dual-boot and I can boot on it) but I would like to start my Mandriva system from qemu, not by rebooting the computer. Would it be possible?

[Qemu-devel] PIIX problems using libata.

2007-03-25 Thread Christian Melki
Hi. Could not find any information about this anywhere. I tried 0.9.0 and the latest snapshot. 070227 but to no avail. Running kernel: # # Serial ATA (prod) and Parallel ATA (experimental) drivers # CONFIG_ATA=y CONFIG_ATA_PIIX=y CONFIG_ATA_GENERIC=y CONFIG_PATA_OLDPIIX=y I insert a qemu raw ima

[Qemu-devel] MORE QCOW image corruption under QEMU 0.9.0

2007-03-25 Thread AN support
J M Cerqueira Esteves wrote: > After shutting down the guest, I inspected its image files with > qemu-info, which reported for hda > > image: nisaba.hda.qcow > file format: raw > virtual size: 4.3G (4596273152 bytes) > disk size: 4.3G > > but hda was supposed to have a virtual size of approximate

Re: [Qemu-devel] PATCH: Secure TLS encrypted authentication for VNC

2007-03-25 Thread Luke-Jr
On Saturday 24 February 2007 04:54:44 pm Daniel P. Berrange wrote: > Having repeatedly said that we should be doing TLS encryption for VNC, I > figured I ought to get down & implement it. So, in the spirit of 'release > early, release often', here is the very first cut of my patch for QEMU. > This

Re: [Qemu-devel] QEMU: VNC

2007-03-25 Thread Joe Batt
Amen! I was beginning to wonder when we would be integrating the email reader. It would be nice if vncviewer didn't require a "host:port", but instead would also accept a pair of pipes. pipes are local and can even be anonymous. host:port is at least machine wide and can be net wide. Jo

[Qemu-devel] RSS to website

2007-03-25 Thread t u
Hi, Sorry to bother you with this one. Is it possible to add an RSS news feed to the main page? That would make it so easier for me (and probably others as well) to learn about new releases of qemu and kqemu and stay up-to-date, especially now that kqemu is GPL'd (which was great). Thanks a lot :)

[Qemu-devel] [PATCH] [REPOST] Simplily linux-user/path.c

2007-03-25 Thread Kirill A. Shutemov
Fixed version of patch in the attaechment. Please, comment. signature.asc Description: Digital signature

[Qemu-devel] documentation

2007-03-25 Thread Mehmet Ergun
hi, I'm a new user and I found the documentation a little confusing. I was wondering whether you are considering to work on the online documentation, provide a few videos, explain the network commands a bit more, and do a general overhaul of the documentation structure. A few videos explaining th

Re: [Qemu-devel] Potential sparc32 MMU bug

2007-03-25 Thread Peter Creath
By banging on get_physical_address, I was able to confirm that qemu will properly assert an exception if the VM's MMU believes the page is read-only. How does env->mmuregs[] get mapped to the VM's MMU? I would normally write this off as an OpenBIOS bug, but it seems like bad behavior for an emul

Re: [Qemu-devel] QEMU: VNC

2007-03-25 Thread Anthony Liguori
Christopher Olsen wrote: Anyone here know if there is a way to append to the VNC display header? I'm not sure I understand what you're asking. What is the VNC display header? Regards, Anthony Liguori -Christopher

[Qemu-devel] virtual PC block driver status

2007-03-25 Thread Paolo Abeni
hello, As noted before (http://lists.gnu.org/archive/html/qemu-devel/2006-10/msg00153.html) Microsoft has published the format of virtual pc drive VHD. It should be used also by xen. The specs are available here: http://download.microsoft.com/download/f/f/e/ffef50a5-07dd-4cf8-aaa3-442c0673a029/

[Qemu-devel] Patch: 0.9.0-Fix floppy detect with linux host

2007-03-25 Thread wanderer
When using host drive (e.g., /dev/fd0) qemu does not detect physical drive if it is empty. This causes a Windows guest, specifically w2k, to drop the floppy drive altogether at start-up. The need to see the disk image before determining the emulated drive type makes sense for images, but not mu

[Qemu-devel] Kqemu bug

2007-03-25 Thread wonqingsd
Help me I run qemu 0.9 find a bug,My Host OS is XpSp2, Tartget OS is Xpsp2.use -kelnel-kqemu svchost - networkservice error and run IceSword.exe blue screen .but don't use -kernel-kqemu is no error.

[Qemu-devel] Re: [PATCH] Remove bash-ism from configure

2007-03-25 Thread Oleg Verych
Hallo. > From: Anthony Liguori <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.emulators.qemu > Subject: Re: [PATCH] Remove bash-ism from configure > Date: Sun, 11 Feb 2007 11:41:32 -0600 [] > On my system, which is an executable, not a shell command so it's > outside the scope of bashism. It's als

[Qemu-devel] missing key in QEMU / Ubuntu host, XP guest, please help!

2007-03-25 Thread Georg Schlomka
Hi! We use Qemu un an Ubuntu host and want to run XP guests. No problems there. But the most important XP Application we run *absolutely needs* the key, especially the combination . Unfortunately, it appears that this does not work. After looking through some of the source (monitor.c and keymaps

[Qemu-devel] don't require a disk image for network boot

2007-03-25 Thread Ferenc Wagner
Hi, What do you think about the following patch? As a side note, I'd really prefer option roms with serial output enabled (check CONSOLE_DUAL on rom-o-matic). Maybe even uncheck ASK_BOOT... Hmm, maybe that's already done, I couldn't see... :) Anyway, thanks for the nice work! Regards, Feri. (

[Qemu-devel] Re: linux/ppc on qemu/win networking problems...

2007-03-25 Thread lode leroy
Following up on myself, I can confirm that Slackintosh 11.0 with networking works on 0.8.2... http://www.h6.dion.ne.jp/%7Ekazuw/qemu-win/qemu-0.8.2-ppc.zip

[Qemu-devel] linux/ppc on qemu/win networking problems...

2007-03-25 Thread lode leroy
Hi, I managed to install Slackintosh-11.0 on qemu-0.9.0-ppc for windows. Now while I try to set up network support, I get into problems: I started with this: ==> http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-ppc.zip Then I installed Slackintosh from ==> http://slackintosh.workaround.ch/p

[Qemu-devel] [Patch] Minor configure dsound typo

2007-03-25 Thread nicolas\.sauzede
Sorry this patch is ridiculous, but it fixes a minor display typo in qemu-0.9.0 and qemu-snapshot-2007-02-08_05 (I don't have CVS access handy here) NS --- diff -r a294d9db2cd9 configure --- a/configure Thu Feb 08 14:55:07 2007 +0100 +++ b/configure Thu Feb 08

[Qemu-devel] [PATCH] verbose error when /dev/kqemu can't be open

2007-03-25 Thread Robert Millan
Please can you apply this tiny patch to make /dev/kqemu open failures more verbose? It'll help the user distinguish between ENOENT, EPERM and ENXIO, since they are all common causes of open failure. -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spa

[Qemu-devel] qemu support for S32 and U32 alsa output

2007-03-25 Thread infernix
Hi, My M-Audio soundcard (ice1712) did not play nice with qemu's alsa output since it only accepted S32_LE. I asked some weirdo who has nothing better to do at 6:50 AM in the #qemu channel on freenode for help, and he wrote the attached patch. I've patched this against CVS and also against 0

[Qemu-devel] Re: qemu LICENSE

2007-03-25 Thread consul
Thanks, Fabrice for opening the kqemu. "Fabrice Bellard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Fabrice Bellard 07/02/05 21:06:29 > > Modified files: > . : LICENSE > > Log message: > update > > CVSWeb UR

[Qemu-devel] [Patch] darwin-user: fix com mpage entry offset

2007-03-25 Thread Pierre d'Herbemont
Hi, This patch fix typos in the commpage definition. Pierre. Index: darwin-user/commpage.c === RCS file: /sources/qemu/qemu/darwin-user/commpage.c,v retrieving revision 1.1 diff -u -r1.1 commpage.c --- darwin-user/commpage.c 1

  1   2   >