[Qemu-devel] [PATCH 9/9] sparc64: reimplement tick timers

2010-01-07 Thread Igor V. Kovalenko
From: Igor V. Kovalenko sparc64 timer has tick counter which can be set and read, and tick compare value used as deadline to fire timer interrupt. The timer is not used as periodic timer, instead deadline is set each time new timer interrupt is needed. This change implements sparc64 timers witho

Re: [Qemu-devel] [PATCHv6 3/3] virtio: add features as qdev properties

2010-01-07 Thread Anthony Liguori
On 01/04/2010 10:08 AM, Michael S. Tsirkin wrote: Add feature bits as properties to virtio. This makes it possible to e.g. define machine without indirect buffer support, which is required for 0.10 compatibility, or without hardware checksum support, which is required for 0.11 compatibility. Sin

Re: [Qemu-devel] [PATCH] NAND: Correct random data reads

2010-01-07 Thread Jean-Hugues Deschenes
On Mon, Dec 15, 2008 at 03:31:55AM +0100, andrzej zaborowski wrote: >/ 2008/12/12 Edgar E. Iglesias :/ >/ > I'm having problems with machine that uses a NAND_MFR_STMICRO 0xf1,/ >/ > recent Linux versions cannot properly read from the flash./ >/ >/ >/ > Turns out that Linux MTD recently learned how

Re: [Qemu-devel] [PATCH] NAND: Correct random data reads

2010-01-07 Thread Edgar E. Iglesias
On Thu, Jan 07, 2010 at 03:19:15PM -0500, Jean-Hugues Deschenes wrote: > > On Mon, Dec 15, 2008 at 03:31:55AM +0100, andrzej zaborowski wrote: > > >/ 2008/12/12 Edgar E. Iglesias :/ > > >/ > I'm having problems with machine that uses a NAND_MFR_STMICRO 0xf1,/ > > >/ > recent Linux versions cannot p

[Qemu-devel] NAND_CMD_COPYBACKPRG1 commands problematic?

2010-01-07 Thread Jean-Hugues Deschenes
Hi, Has anyone used NAND_CMD_COPYBACKPRG1 commands? Those seem problematic, as it seems s->iolen is not updated when the emulated page buffer is written to, such that blk_write fails to write the updated data to the block device... Is it a misunderstanding on my part of the command sequenc

[Qemu-devel] [PATCH] Fix build if OSS_GETVERSION is not defined

2010-01-07 Thread Juergen Lock
In this case it was missing on FreeBSD <= 6.x (Which also doesn't have SNDCTL_DSP_POLICY yet so the version doesn't get used anyway.) Signed-off-by: Juergen Lock --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -240,7 +240,7 @@ static int oss_open (int in, struct oss_ str

Re: [Qemu-devel] [PATCH 8/8] Move virtio-serial to Makefile.hw

2010-01-07 Thread Andreas Färber
Am 07.01.2010 um 08:31 schrieb Amit Shah: There's nothing target-dependent in the virtio-serial code so allow it to be compiled just once for all the targets. Signed-off-by: Amit Shah --- Makefile.hw |2 +- Makefile.target |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) dif

[Qemu-devel] Use of LONG_LONG_MAX breaks build on OSX ?

2010-01-07 Thread Emmanuel Kasper
Hello Qemu does not build on my platform ( OSX / 10.5 / PowerPC ) because of the use of LONG_LONG_MAX in raw-posix.c Replacing LONG_LONG_MAX with LLONG_MAX fixes the build and is more standard IMHO ( LONG_LONG_MAX is GNU libc, LLONG_MAX is C99 standard ) The following patch makes this trivial swi

Re: [Qemu-devel] [PATCH 5/8] virtio-serial-bus: Add support for buffering guest output, throttling guests

2010-01-07 Thread Jamie Lokier
Amit Shah wrote: > Guests send us one buffer at a time. Current guests send buffers sized > 4K bytes. If guest userspace applications sent out > 4K bytes in one > write() syscall, the write request actually sends out multiple buffers, > each of 4K in size. > > This usually isn't a problem but for

Re: [Qemu-devel] Re: [RFD] virtio: Add memory statistics reporting to the balloon driver

2010-01-07 Thread Jamie Lokier
Anthony Liguori wrote: > On 01/07/2010 09:18 AM, Avi Kivity wrote: > >On 01/07/2010 05:12 PM, Anthony Liguori wrote: > >> > >>3) Make qemu request balloon stats regularly (maybe every 10 seconds) > >>and display the latest stats with info balloon. This avoids the > >>problem in #2 but it means t

Re: [Qemu-devel] [PATCH 8/8] Move virtio-serial to Makefile.hw

2010-01-07 Thread Amit Shah
On (Fri) Jan 08 2010 [01:41:48], Andreas Färber wrote: > > Am 07.01.2010 um 08:31 schrieb Amit Shah: > >> There's nothing target-dependent in the virtio-serial code so allow it >> to be compiled just once for all the targets. >> >> Signed-off-by: Amit Shah >> --- >> Makefile.hw |2 +- >> Ma

Re: [Qemu-devel] [PATCH 5/8] virtio-serial-bus: Add support for buffering guest output, throttling guests

2010-01-07 Thread Amit Shah
On (Fri) Jan 08 2010 [01:12:31], Jamie Lokier wrote: > Amit Shah wrote: > > Guests send us one buffer at a time. Current guests send buffers sized > > 4K bytes. If guest userspace applications sent out > 4K bytes in one > > write() syscall, the write request actually sends out multiple buffers, > >

[Qemu-devel] Re: [PATCH 0/3] Fixes for Linux->Win32 cross-compilation

2010-01-07 Thread Paolo Bonzini
On 01/07/2010 08:46 PM, Anthony Liguori wrote: On 01/07/2010 12:28 PM, Paolo Bonzini wrote: Cross compilation works without patches when PATH is modified so it finds the correct sdl-config True, but anything beyond "./configure --cross-prefix=cpu-vendor-os-" (or --host for autoconf) is a bug

[Qemu-devel] Re: [PATCH] write option roms in pc-bios/

2010-01-07 Thread Paolo Bonzini
On 01/07/2010 09:03 PM, Anthony Liguori wrote: This will wreak havoc on the tree since these are built by default and they are replacing files in revision control. ... the next question is why are they (linuxboot.bin and multiboot.bin) in revision control since they do not require any strange

Re: [Qemu-devel] Re: [PATCH] write option roms in pc-bios/

2010-01-07 Thread Aurelien Jarno
Paolo Bonzini a écrit : > On 01/07/2010 09:03 PM, Anthony Liguori wrote: >> This will wreak havoc on the tree since these are built by default and >> they are replacing files in revision control. > > ... the next question is why are they (linuxboot.bin and multiboot.bin) > in revision control sin

<    1   2