[Qemu-devel] Re: [kvm-devel] [PATCH] report revision 3 of the ACPI/SMBus PIIX4 controller
Marcelo Tosatti wrote: The PIIX4 ACPI controller prior to revision 0x3 contains a bug where reading of the timer port is unreliable, so the kernel reads it three times for consistency check. QEMU does not suffer from that problem :) The datasheet for PIIX4, PIIX4E, and PIIX4M is the same. I failed to find any indication that the revision increase could affect anything other than the PMTimer port read. This reduces idle guest CPU consumption from 14% to 8% on 4-way KVM guest. Applied (to kvm's qemu), thanks. -- error compiling committee.c: too many arguments to function
[Qemu-devel] qemu crash in aio_read
Hello, I am experiencing a crash in qemu when trying to load an existing known-working image: [EMAIL PROTECTED] gdb /usr/local/bin/qemu qemu.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... Core was generated by `qemu'. Program terminated with signal 12, Bad system call. Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /lib/libutil.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.7 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x281cb61b in aio_read () from /lib/libc.so.7 (gdb) bt #0 0x281cb61b in aio_read () from /lib/libc.so.7 #1 0x0805c2e8 in ?? () #2 0x283e4090 in ?? () #3 0x283c3c14 in ?? () #4 0x283bb458 in ?? () #5 0x0008 in ?? () #6 0x283bb1d4 in ?? () #7 0x0008 in ?? () #8 0xbfbfb428 in ?? () #9 0x0807f22d in ?? () This is attempting to boot with a basic copy of gentoo, any ideas what could cause this? I can provide any additional debugging information or test patches etc. -Adam
[Qemu-devel] [Patch] x86 breakpoints and memory examination
Hi all, The following patch is useful for whole-system mode debugging and breakpoint setting on i386 QEMU. It seems like both breakpoints and memory examination used semi-physical addresses, in that neither took account of segment translation. This patch (relative to 0.9.1) adds segment translation. I'm not sure this is the right way to do it (in fact, I'm sure that the memory examination patch is the WRONG way to do it) and would appreciate pointers or advice. Thanks, Eddie Kohler diff -ru qemu-0.9.1/target-i386/helper2.c qemu-0.9.1-p/target-i386/helper2.c --- qemu-0.9.1/target-i386/helper2.c 2008-01-06 11:38:45.0 -0800 +++ qemu-0.9.1-p/target-i386/helper2.c 2008-01-12 23:56:34.0 -0800 @@ -1081,6 +1081,7 @@ { uint32_t pde_addr, pte_addr; uint32_t pde, pte, paddr, page_offset, page_size; +addr += env-segs[R_DS].base; if (env-cr[4] CR4_PAE_MASK) { uint32_t pdpe_addr, pde_addr, pte_addr; diff -ru qemu-0.9.1/target-i386/translate.c qemu-0.9.1-p/target-i386/translate.c --- qemu-0.9.1/target-i386/translate.c 2008-01-06 11:38:45.0 -0800 +++ qemu-0.9.1-p/target-i386/translate.c 2008-01-13 00:00:23.0 -0800 @@ -6758,7 +6758,7 @@ for(;;) { if (env-nb_breakpoints 0) { for(j = 0; j env-nb_breakpoints; j++) { -if (env-breakpoints[j] == pc_ptr) { +if (env-breakpoints[j] == pc_ptr - dc-cs_base) { gen_debug(dc, pc_ptr - dc-cs_base); break; }
[Qemu-devel] BUG: qemu-sh4 - shar does logical not arithmetic right shift
Thiemo Seufer [EMAIL PROTECTED] writes: (in May 2007) CVSROOT: /sources/qemu Module name: qemu Changes by: Thiemo Seufer ths 07/05/13 16:35:36 Modified files: target-sh4 : op.c Log message: Remove unnecessary pointer magic in shift operations, by Magnus Damm. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/op.c?cvsroot=qemur1=1.4r2=1.5 Hi, I'm just playing with qemu-sh4, and found that 'shar' seems to be doing a logical right shift, rather than an arithmetic right shift. I think that pointer magic was necessary after all. In the current version of target-sh4/op.c, op_shar_Rn() and op_shlr_Rn() are identical, which is surely wrong. void OPPROTO op_shar_Rn(void) { cond_t(env-gregs[PARAM1] 1); env-gregs[PARAM1] = 1; RETURN(); } void OPPROTO op_shlr_Rn(void) { cond_t(env-gregs[PARAM1] 1); env-gregs[PARAM1] = 1; RETURN(); } The behaviour is consistent with env-gregs[] being an array of unsigned ints, (I'm not familiar with qemu details...) and so to get an arithmetic shift, some kind of cast is necessary. dd -- Dave Denholm [EMAIL PROTECTED] http://www.esmertec.com
[Qemu-devel] -kernel-kqemu causes a linux guest kernel crash
Hi, I tried to use http://www.fedoraforum.de/iso/test/rawhide-KDE4-i686-20080109/rawhide-KDE4-i686-20080109.4.iso image with qemu 0.9.1 (binary version from http://fabrice.bellard.free.fr/qemu/download.html). When I don't use -kernel-kqemu, the kernel boot, but if I used -kernel-kqemu I got a Kernel panic[1]. [1] divide error: [#1] SMP Modules linked in: Pid: 1, comm: swapper Not tainted (2.6.24-0.138.rc7.fc9 #1) EIP: 0060:[c047bb98] EFLAGS: 00010002 CPU: 0 EIP is at __inc_zone_state+0x2e/0x51 EAX: c0737c00 EBX: c1199601 ECX: 0005 EDX: c073 ESI: c0737c00 EDI: c0737cae EBP: c7417b74 ESP: c7417b68 DS: 007b ES: 007b FS: 00d8 GS: SS: 0068 Process swapper (pid: 1, ti=c7417000 task=c7418000 task.ti=c7417000) Stack: c11996e8 c7005b48 c7417b7c c047bfdd c7417b94 c0471a82 c11996e8 c11996e8 c7005b48 c7417ba8 c0471aa9 00d0 c11996e8 c7417bc4 c0471b31 00d0 c7433000 c7417bdc Call Trace: [c040649a] show_trace_log_lvl+0x1a/0x2f [c040654a] show_stack_log_lvl+0x9b/0xa3 [c04065f9] show_registers+0xa7/0x178 [c04067ff] die+0x135/0x220 [c063e7f0] do_trap+0x8a/0xa3 [c0406d0a] do_divide_error+0x85/0x8f [c063e5ba] error_code+0x72/0x78 [c047bfdd] __inc_zone_page_state+0x18/0x1a [c0471a82] add_to_page_cache+0x7a/0x8a [c0471aa9] add_to_page_cache_lru+0x17/0x2b [c0471b31] __grab_cache_page+0x74/0x91 [c04aabd0] simple_write_begin+0x1e/0x4b [c04727d2] generic_file_buffered_write+0xe4/0x51b [c0473040] __generic_file_aio_write_nolock+0x437/0x48a [c04730eb] generic_file_aio_write+0x58/0xb6 [c0492406] do_sync_write+0xc5/0x102 [c0492c0e] vfs_write+0xa8/0x15c [c0493275] sys_write+0x3d/0x61 [c0775cdc] do_copy+0x32/0xb1 [c0774c9c] write_buffer+0x1d/0x2c [c0774d0f] flush_window+0x64/0xb3 [c07750e9] inflate_codes+0x371/0x3c9 [c077641f] inflate_dynamic+0x4d5/0x531 [c0776938] unpack_to_rootfs+0x4bd/0x89b [c0776d94] populate_rootfs+0x7e/0xe4 [c0771579] kernel_init+0x1f4/0x376 [c0405f1f] kernel_thread_helper+0x7/0x10 === Code: 89 e5 57 56 89 c6 64 a1 08 20 7b c0 c1 e0 07 8d 84 30 80 00 00 00 8d 7c 10 29 53 8a 1f 43 88 1f 8a 40 28 38 c3 7e 22 b2 02 66 98 f6 fa 0f be d3 0f be c0 01 c2 90 01 94 8e 40 13 00 00 90 01 14 EIP: [c047bb98] __inc_zone_state+0x2e/0x51 SS:ESP 0068:c7417b68 ---[ end trace 778e504de7e3b1e3 ]--- Kernel panic - not syncing: Attempted to kill init!
[Qemu-devel] Re: [PATCH] USB serial device
Hello, Samuel Thibault, le Sun 13 Jan 2008 01:55:56 +, a écrit : Samuel Thibault, le Fri 11 Jan 2008 11:09:23 +, a écrit : Samuel Thibault, le Fri 11 Jan 2008 00:23:12 +, a écrit : I would like to implement support for braille devices, and for this I'd need to first implement a USB serial device (FTDI chip). Has anybody worked on that already? Ok, was easier than expected, Here is a patch. The serial support is incomplete however because qemu still lacks support for flow control and modem lines. You will notice in tty_serial_init that I made the baud values more relaxed. This is because with divisor/baud conversions, things never get exact, so we need to be laxist with the value. For instance here with FTDI, the base divisor is 4800/2, so for 57600 bps the guest needs to choose between divisors 416 and 417, which bring to either 57692bps or 57553bps but not exactly 57600bps. It happens that Linux chooses divisor 416, hence 57692bps. Of course, the higher the speed, the worse things get. The 1.1 factor is the smallest factor I could find between usual bps values, notably B110, B134 and B150. Here is an updated version, that takes parameters, so as to be able to notably provide the product ID. There was a small bug, here is a fixed version. I also have a braille device emulation patch which now works, but it probably needs a bit more polishing. Samuel Index: Makefile === RCS file: /sources/qemu/qemu/Makefile,v retrieving revision 1.140 diff -u -p -r1.140 Makefile --- Makefile6 Jan 2008 18:27:12 - 1.140 +++ Makefile13 Jan 2008 01:54:17 - @@ -57,7 +57,7 @@ OBJS+=i2c.o smbus.o smbus_eeprom.o max73 OBJS+=ssd0303.o ssd0323.o ads7846.o stellaris_input.o OBJS+=scsi-disk.o cdrom.o OBJS+=scsi-generic.o -OBJS+=usb.o usb-hub.o usb-linux.o usb-hid.o usb-msd.o usb-wacom.o +OBJS+=usb.o usb-hub.o usb-linux.o usb-hid.o usb-msd.o usb-wacom.o usb-serial.o OBJS+=sd.o ssi-sd.o ifdef CONFIG_WIN32 Index: vl.c === RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.395 diff -u -p -r1.395 vl.c --- vl.c8 Jan 2008 19:32:16 - 1.395 +++ vl.c13 Jan 2008 01:54:21 - @@ -2237,45 +2237,33 @@ static void tty_serial_init(int fd, int #endif tcgetattr (fd, tty); -switch(speed) { -case 50: +#define MARGIN 1.1 +if (speed = 50 * MARGIN) spd = B50; -break; -case 75: +else if (speed = 75 * MARGIN) spd = B75; -break; -case 300: +else if (speed = 300 * MARGIN) spd = B300; -break; -case 600: +else if (speed = 600 * MARGIN) spd = B600; -break; -case 1200: +else if (speed = 1200 * MARGIN) spd = B1200; -break; -case 2400: +else if (speed = 2400 * MARGIN) spd = B2400; -break; -case 4800: +else if (speed = 4800 * MARGIN) spd = B4800; -break; -case 9600: +else if (speed = 9600 * MARGIN) spd = B9600; -break; -case 19200: +else if (speed = 19200 * MARGIN) spd = B19200; -break; -case 38400: +else if (speed = 38400 * MARGIN) spd = B38400; -break; -case 57600: +else if (speed = 57600 * MARGIN) spd = B57600; -break; -default: -case 115200: +else if (speed = 115200 * MARGIN) +spd = B115200; +else spd = B115200; -break; -} cfsetispeed(tty, spd); cfsetospeed(tty, spd); @@ -5196,6 +5184,8 @@ static int usb_device_add(const char *de dev = usb_msd_init(p); } else if (!strcmp(devname, wacom-tablet)) { dev = usb_wacom_init(); +} else if (strstart(devname, serial:, p)) { + dev = usb_serial_init(p); } else { return -1; } Index: hw/usb-serial.c === RCS file: hw/usb-serial.c diff -N hw/usb-serial.c --- /dev/null 1 Jan 1970 00:00:00 - +++ hw/usb-serial.c 13 Jan 2008 01:54:21 - @@ -0,0 +1,549 @@ +/* + * FTDI FT232BM Device emulation + * + * Copyright (c) 2006 CodeSourcery. + * Copyright (c) 2008 Samuel Thibault [EMAIL PROTECTED] + * Written by Paul Brook, reused for FTDI by Samuel Thibault + * + * This code is licenced under the LGPL. + */ + +#include qemu-common.h +#include usb.h +#include qemu-char.h + +//#define DEBUG_Serial + +#ifdef DEBUG_Serial +#define DPRINTF(fmt, args...) \ +do { printf(usb-serial: fmt , ##args); } while (0) +#else +#define DPRINTF(fmt, args...) do {} while(0) +#endif + +#define RECV_BUF 384 +#define SEND_BUF 128// Not used for now + +/* Commands */ +#define FTDI_RESET 0 +#define FTDI_SET_MDM_CTRL 1 +#define FTDI_SET_FLOW_CTRL 2 +#define FTDI_SET_BAUD 3 +#define FTDI_SET_DATA 4
[Qemu-devel] [PATCH] Allow default network type to be determined from an environmental variable
One typically wants to use the same networking type on a given system. For instance, if you have a bridge set up for taps, you'll generally pass -net tap to the guest. If you're an unprivileged user, you'll typically use -net user. In the absence of a global configuration file, a reasonably sane way to support this configuration system wide is to use an environmental variable. QEMU already uses a number of global variables for configuring audio options. This patch introduces a global variable (QEMU_NET_DEFAULT) which allows a user to set a system-wide default networking type. This saves a lot of typing for me as I no longer have to specify -net tap every time I launch QEMU. Regards, Anthony Liguori Index: qemu/vl.c === --- qemu.orig/vl.c 2008-01-13 15:12:55.0 -0600 +++ qemu/vl.c 2008-01-13 15:15:02.0 -0600 @@ -8754,11 +8754,16 @@ /* init network clients */ if (nb_net_clients == 0) { + const char *net_type = getenv(QEMU_NET_DEFAULT); + + if (net_type == NULL) + net_type = user; + /* if no clients, we use a default config */ pstrcpy(net_clients[0], sizeof(net_clients[0]), nic); pstrcpy(net_clients[1], sizeof(net_clients[0]), -user); +net_type); nb_net_clients = 2; }
[Qemu-devel] [PATCH] fix heap overflow in block-vmdk.c
It's possible to set a parentFileNameHint argument 1023 bytes in the image file, causing an overflow at the strncpy. diff -ru qemu-0.9.1/block-vmdk.c qemu-0.9.1-p/block-vmdk.c --- qemu-0.9.1/block-vmdk.c 2008-01-06 14:38:42.0 -0500 +++ qemu-0.9.1-p/block-vmdk.c 2008-01-13 14:30:23.0 -0500 @@ -342,6 +342,9 @@ if ((end_name = strchr(p_name,'\')) == 0) return -1; +if ((end_name - p_name) sizeof (s-hd-backing_file) - 1) + return -1; + strncpy(s-hd-backing_file, p_name, end_name - p_name); if (stat(s-hd-backing_file, file_buf) != 0) { path_combine(parent_img_name, sizeof(parent_img_name),
[Qemu-devel] [PATCH] OSX x86_32 host support
Looks like I'm a little late for the party, as always :) . I really encourage everyone to work towards a gcc4.x solution for OS X. I just read and tried Alexanders x86_64 patch, as I finished our x86_32. If we could reach an out of the box solution for OS X, that would be great! You'll find the patches at [1] It's basically an adaption of Pauls, Gwenoles and the Qs gcc4 OS X x86 patches. Best regards Mike [1] http://www.kronenberg.org/qemu smime.p7s Description: S/MIME cryptographic signature
[Qemu-devel] qemu vnc.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/13 23:51:53 Modified files: . : vnc.c Log message: Reduce redundant timer ticks in VNC, by Anders Melchiorsen. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vnc.c?cvsroot=qemur1=1.31r2=1.32
[Qemu-devel] qemu/hw vmware_vga.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 01:52:52 Modified files: hw : vmware_vga.c Log message: Register io ports as selected by PCI config in VMware SVGA. Should prevent segfaults with RTL8139. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/vmware_vga.c?cvsroot=qemur1=1.5r2=1.6
[Qemu-devel] qemu/hw usb-hid.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 02:25:45 Modified files: hw : usb-hid.c Log message: Add mouse wheel in the usb-mouse HID Report (by Daniel Godás). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/usb-hid.c?cvsroot=qemur1=1.15r2=1.16
[Qemu-devel] qemu .cvsignore Makefile hw/gumstix.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 02:36:29 Modified files: . : .cvsignore Makefile hw : gumstix.c Log message: Fully clean up on Mac OS X Leopard (Andreas Färber). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/.cvsignore?cvsroot=qemur1=1.23r2=1.24 http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.140r2=1.141 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/gumstix.c?cvsroot=qemur1=1.8r2=1.9
[Qemu-devel] qemu/hw gumstix.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 02:39:21 Modified files: hw : gumstix.c Log message: Revert accidentally added second NIC in Gumstix-connect - this should probably be a separate board. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/gumstix.c?cvsroot=qemur1=1.9r2=1.10
[Qemu-devel] qemu qemu-doc.texi vl.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 02:56:53 Modified files: . : qemu-doc.texi vl.c Log message: Change -drive parsing so that paths don't have to be double-escaped (Laurent Vivier, Johannes Schindelin) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemur1=1.176r2=1.177 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.395r2=1.396
[Qemu-devel] qemu/hw ide.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:05:55 Modified files: hw : ide.c Log message: Multi-profile DVD-ROM support (Carlo Marcelo Arenas Belon). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ide.c?cvsroot=qemur1=1.79r2=1.80
[Qemu-devel] qemu vl.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:11:16 Modified files: . : vl.c Log message: Clean-up /tmp directory after -smb use (Mark Jonckheere). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.396r2=1.397
[Qemu-devel] qemu/target-cris op.c translate.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:18:30 Modified files: target-cris: op.c translate.c Log message: Optimize clear insns by treating support reg P0 specially and add missing micro-op RETURN's (Edgar E. Iglesias). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-cris/op.c?cvsroot=qemur1=1.2r2=1.3 http://cvs.savannah.gnu.org/viewcvs/qemu/target-cris/translate.c?cvsroot=qemur1=1.2r2=1.3
[Qemu-devel] qemu Makefile vl.c hw/usb.h hw/usb-serial.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:41:02 Modified files: . : Makefile vl.c hw : usb.h Added files: hw : usb-serial.c Log message: USB-to-serial device (Samuel Thibault). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.141r2=1.142 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.397r2=1.398 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/usb.h?cvsroot=qemur1=1.19r2=1.20 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/usb-serial.c?cvsroot=qemurev=1.1
[Qemu-devel] qemu/hw acpi.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:43:18 Modified files: hw : acpi.c Log message: Bump ACPI/SMBus PIIX4 controller revision to 3 (Marcelo Tosatti). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi.c?cvsroot=qemur1=1.18r2=1.19
[Qemu-devel] qemu block-vmdk.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 03:48:37 Modified files: . : block-vmdk.c Log message: Add a path length check to prevent heap overflow (Eric Milliken). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/block-vmdk.c?cvsroot=qemur1=1.18r2=1.19
[Qemu-devel] qemu Makefile Makefile.target configure audio/a...
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 04:24:29 Modified files: . : Makefile Makefile.target configure audio : alsaaudio.c audio.c audio_int.h dsound_template.h dsoundaudio.c ossaudio.c wavaudio.c hw : dma.c sb16.c Added files: audio : audio_pt_int.c audio_pt_int.h esdaudio.c Log message: pthreads-based audio and miscellaneous audio clean-up (malc). ESD support (malc, Frederick Reeve). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.142r2=1.143 http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.238r2=1.239 http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.179r2=1.180 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/alsaaudio.c?cvsroot=qemur1=1.12r2=1.13 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/audio.c?cvsroot=qemur1=1.19r2=1.20 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/audio_int.h?cvsroot=qemur1=1.11r2=1.12 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/dsound_template.h?cvsroot=qemur1=1.4r2=1.5 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/dsoundaudio.c?cvsroot=qemur1=1.5r2=1.6 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/ossaudio.c?cvsroot=qemur1=1.13r2=1.14 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/wavaudio.c?cvsroot=qemur1=1.11r2=1.12 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/audio_pt_int.c?cvsroot=qemurev=1.1 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/audio_pt_int.h?cvsroot=qemurev=1.1 http://cvs.savannah.gnu.org/viewcvs/qemu/audio/esdaudio.c?cvsroot=qemurev=1.1 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/dma.c?cvsroot=qemur1=1.17r2=1.18 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sb16.c?cvsroot=qemur1=1.25r2=1.26
[Qemu-devel] qemu configure qemu-doc.texi vl.c hw/audiodev.h...
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/01/14 04:27:55 Modified files: . : configure qemu-doc.texi vl.c hw : audiodev.h Added files: hw : ac97.c Log message: PCI AC97 emulation by malc. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.180r2=1.181 http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemur1=1.177r2=1.178 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.398r2=1.399 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/audiodev.h?cvsroot=qemur1=1.1r2=1.2 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ac97.c?cvsroot=qemurev=1.1
Re: [Qemu-devel] [Patch] x86 breakpoints and memory examination
Hi.. The following patch is useful for whole-system mode debugging and breakpoint setting on i386 QEMU. It seems like both breakpoints and memory examination used semi-physical addresses, in that neither took account of segment translation. This patch (relative to 0.9.1) adds segment translation. I'm not sure this is the right way to do it (in fact, I'm sure that the memory examination patch is the WRONG way to do it) and would appreciate pointers or advice. I believe (IIRC) jasson wessel had fixed such problem about a year ago..but I agree that it seems qemu doesn't take segmentation into account (zero based segment start address, like most OS does these days I think). In this case, i think your patch does the right thing. regards, Mulyadi.
[Qemu-devel] recent patches break
The current patches break directsound. This tiny fix makes it compile, but it throws a lot of warnings. Index: audio/dsound_template.h === RCS file: /sources/qemu/qemu/audio/dsound_template.h,v retrieving revision 1.5 diff -u -r1.5 dsound_template.h --- audio/dsound_template.h 14 Jan 2008 04:24:28 - 1.5 +++ audio/dsound_template.h 14 Jan 2008 05:37:12 - @@ -197,7 +197,7 @@ #endif if (!s-FIELD2) { -dsound_logerr (Attempt to initialize voice without NAME2 object); +dsound_logerr (hr,Attempt to initialize voice without NAME2 object); return -1; }
Re: [Qemu-devel] qemu qemu-doc.texi vl.c
Thank you ! Laurent Le lundi 14 janvier 2008 à 02:56 +, Andrzej Zaborowski a écrit : CVSROOT: /sources/qemu Module name: qemu Changes by: Andrzej Zaborowski balrog 08/01/14 02:56:53 Modified files: . : qemu-doc.texi vl.c Log message: Change -drive parsing so that paths don't have to be double-escaped (Laurent Vivier, Johannes Schindelin) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemur1=1.176r2=1.177 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.395r2=1.396 -- - [EMAIL PROTECTED] -- La perfection est atteinte non quand il ne reste rien à ajouter mais quand il ne reste rien à enlever. Saint Exupéry signature.asc Description: Ceci est une partie de message numériquement signée