[Qemu-devel] where can i find location of snapshot images?

2010-03-26 Thread 현해일
Hi, all. If I had make the snapshot images by using savevm command, then where can I find location of created images? In addition, can I use migrate command for vm migration? (in Original QEMU, not a QEMU-kvm) if you have any idea, please let me know. regards. -heail

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Markus Armbruster
Anthony Liguori writes: > On 03/25/2010 11:50 AM, Markus Armbruster wrote: >> >>> The point is, C is a lowest common denominator and it's important to >>> support in a proper way. >>> >> No. The lowest truly common denominator is plain text. And we got that >> covered already. >> >> A dev

[Qemu-devel] Re: [PATCH 2/4] monitor: New argument type 'b'

2010-03-26 Thread Markus Armbruster
Luiz Capitulino writes: > Ok, but strncmp() will return 0 if p - beg = 0, right? In this > case the current implementation will put true on the dict for a line like: > > (qemu) set_link foo > > Which should return an error to the user then. Brain fart. I'll respin. Thanks for catching this!

Re: [Qemu-devel] [PATCH] qemu-img: add FUSE-based image access

2010-03-26 Thread Jan Kiszka
Anthony Liguori wrote: > On 03/25/2010 05:27 PM, Jan Kiszka wrote: >> Anthony Liguori wrote: >> >>> On 03/25/2010 04:46 PM, Jan Kiszka wrote: >>> Anthony Liguori wrote: > On 03/25/2010 12:52 PM, Jan Kiszka wrote: > > >> This adds the "map" subc

[Qemu-devel] [PATCH v2 2/4] monitor: New argument type 'b'

2010-03-26 Thread Markus Armbruster
This is a boolean value. Human monitor accepts "on" or "off". Consistent with option parsing (see parse_option_bool()). Signed-off-by: Markus Armbruster --- monitor.c | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c in

[Qemu-devel] [PATCH v2 4/4] monitor: Convert do_set_link() to QObject, QError

2010-03-26 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- net.c |7 --- net.h |2 +- qemu-monitor.hx |3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/net.c b/net.c index 830021d..2559c07 100644 --- a/net.c +++ b/net.c @@ -1283,7 +1283,7 @@ void do_info_networ

[Qemu-devel] [PATCH v2 1/4] monitor: Rename argument type 'b' to 'f'

2010-03-26 Thread Markus Armbruster
To make 'b' available for boolean argument. Signed-off-by: Markus Armbruster --- monitor.c |8 qemu-monitor.hx |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/monitor.c b/monitor.c index 35cbce7..3ce9a4e 100644 --- a/monitor.c +++ b/monitor.c @@ -74,7

[Qemu-devel] [PATCH v2 0/4] monitor: Convert do_set_link() to QObject, QError

2010-03-26 Thread Markus Armbruster
PATCH 3/4 changes syntax of set_link's second argument from up|down to on|off. I feel that the argument needs to be boolean in QMP, and this is the simplest way to get it. Luiz likes this approach. The change doesn't affect libvirt, because it doesn't use set_link, yet. Alternatives I could try

[Qemu-devel] [PATCH v2 3/4] monitor: Use argument type 'b' for set_link

2010-03-26 Thread Markus Armbruster
Second argument is now "on" or "off" instead of "up" or "down". Signed-off-by: Markus Armbruster --- net.c | 10 ++ qemu-monitor.hx |8 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/net.c b/net.c index ae971ff..830021d 100644 --- a/net.c +++ b/n

Re: [libvirt] [Qemu-devel] Re: Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Paolo Bonzini
Adding to this C wrappers for QMP commands threatens to make QMP command arguments part of the library ABI. Compatible QMP evolution (like adding an optional argument) turns into a libqmp soname bump. Counter-productive. How do you plan to avoid that? .so versioning. Ugly as hell to do manu

Re: [Qemu-devel] [PATCH 1/2] Support for multiple keyboard devices

2010-03-26 Thread Markus Armbruster
Shahar Havivi writes: > Currently you get segfault when trying to remove keyboard (device_del > monitor command) because no keyboard handling is done. > > This patch add QEMUPutKbdEntry structure, handling each keyboard entry. > Adding a keyboard add to the list, removing keyboard select the prev

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Avi Kivity
On 03/26/2010 10:37 AM, Markus Armbruster wrote: The importances of libqemu is: 1) Providing a common QMP transport implementation that is extensible by third parties 2) Providing a set of common transports that support automatic discovery of command line launched guests 3) Providing a generic

Re: [Qemu-devel] Significant performance regression in qemu-system-mips.

2010-03-26 Thread Rob Landley
On Thursday 25 March 2010 18:25:41 Aurelien Jarno wrote: > On Thu, Mar 25, 2010 at 12:33:33PM -0500, Rob Landley wrote: > > On Thursday 25 March 2010 04:20:26 Artyom Tarasenko wrote: > > > 2010/3/24 Rob Landley : > > > > I have a native build under qemu that gets killed if it doesn't > > > > produc

Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: 'keyboard_set' and 'info keybaord'

2010-03-26 Thread Markus Armbruster
Shahar Havivi writes: > Two new monitor commands: adding ability to handle which keyboard qemu will > use and to see which keyboard are currently available. > > $ info keyboard > $ keyboard_set > > Signed-off-by: Shahar Havivi > --- > console.h |4 ++ > input.c | 104 >

Re: [Qemu-devel] where can i find location of snapshot images?

2010-03-26 Thread Kevin Wolf
Am 26.03.2010 08:20, schrieb 현해일: > If I had make the snapshot images by using savevm command, then where > can I find location of created images? It doesn't create new files, the snapshots are saved in the same image file. You can list them with "info snapshots" and load a snapshot with "loadvm "

[Qemu-devel] guidance regarding GSOC

2010-03-26 Thread Faqeer ALI
Dear Sir, I am a graduate student at MAJU university Islamabad Pakistan, as a course project I have already worked with qemu and openmoko. During this summers, I would be glad to work with qemu. I need some guidance, I have downloaded the qemu sources, And as per "Convert Monitor commands

[Qemu-devel] Re: [PATCH 3/3] monitor: Convert do_migrate() to QError

2010-03-26 Thread Luiz Capitulino
On Thu, 25 Mar 2010 20:30:33 +0100 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Thu, 25 Mar 2010 18:37:25 +0100 > > Markus Armbruster wrote: > > > > [...] > > > >> >> @@ -86,12 +86,13 @@ int do_migrate(Monitor *mon, const QDict *qdict, > >> >> QObject **ret_data) > >> >>

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Anthony Liguori
On 03/26/2010 04:51 AM, Avi Kivity wrote: On 03/26/2010 10:37 AM, Markus Armbruster wrote: The importances of libqemu is: 1) Providing a common QMP transport implementation that is extensible by third parties 2) Providing a set of common transports that support automatic discovery of command

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Luiz Capitulino
On Thu, 25 Mar 2010 08:55:42 -0500 Anthony Liguori wrote: > On 03/25/2010 08:23 AM, Luiz Capitulino wrote: > > On Wed, 24 Mar 2010 16:40:18 -0500 > > Anthony Liguori wrote: > > > > > We need to have a common management interface for third party tools. > > > >>>QM

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 10:26:07 +0530 Amit Shah wrote: > Also, if it might help, the 'guest device ready' and 'guest port ready' > QMP events can be sent on success as well (right now they're only sent > on failure). Although this seems to be make, would be good to have clients' writers feedback o

[Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 07:46:28 +0530 Amit Shah wrote: > On (Thu) Mar 25 2010 [15:55:41], Luiz Capitulino wrote: > > On Wed, 24 Mar 2010 20:19:28 +0530 > > Amit Shah wrote: > > > > > When adding a port or a device to the guest fails, management software > > > might be interested in knowing and the

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Amit Shah
On (Fri) Mar 26 2010 [10:05:07], Luiz Capitulino wrote: > On Fri, 26 Mar 2010 10:26:07 +0530 > Amit Shah wrote: > > > Also, if it might help, the 'guest device ready' and 'guest port ready' > > QMP events can be sent on success as well (right now they're only sent > > on failure). > > Although

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Amit Shah
On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: > > > > + > > > > +VIRTIO_SERIAL > > > > +- > > > > > > It should be VIRTIO_SERIAL_ADD. > > > > What about other events that VIRTIO_SERIAL generates? > > We don't address this problem currently, maybe an integration with qdev

Re: [Qemu-devel] [PATCH 00/10, v3] target-alpha improvements

2010-03-26 Thread Richard Henderson
On 03/25/2010 06:52 PM, Jamie Lokier wrote: I guess you are thinking to save the value loaded by load-locked, and use it as the "old" for host cmpxchg at target's store-conditional? Yes. It'll be fine when ll/sc are only used to provide single-word atomic calculations, but I'm not sure those

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Amit Shah
On (Fri) Mar 26 2010 [05:23:25], Jamie Lokier wrote: > Amit Shah wrote: > > > Sure. Does the host app see an EOF on its input when that happens? > > > (I.e. *not* like a real serial port). > > > > If it's an in-qemu app, it gets the guest_closed() callback. So I guess > > qmp events for non-qemu

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Anthony Liguori
On 03/26/2010 02:37 AM, Markus Armbruster wrote: Adding to this C wrappers for QMP commands threatens to make QMP command arguments part of the library ABI. Compatible QMP evolution (like adding an optional argument) turns into a libqmp soname bump. Counter-productive. How do you plan to avoid

[Qemu-devel] Re: qemu git head 20100323 on FreeBSD - qemu-devel port update for testing

2010-03-26 Thread Brandon Gooch
On Thu, Mar 25, 2010 at 8:44 PM, Juergen Lock wrote: > Hi! > >  Now that qemu git head works again (thanx Aurelien! :) I've finished > the FreeBSD qemu-devel port update patch/shar that made me uncover > the bug: >        http://people.freebsd.org/~nox/qemu/qemu-devel-20100323.patch > resp. >    

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 18:56:20 +0530 Amit Shah wrote: > On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: > > > > > + > > > > > +VIRTIO_SERIAL > > > > > +- > > > > > > > > It should be VIRTIO_SERIAL_ADD. > > > > > > What about other events that VIRTIO_SERIAL generates? > > > >

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Jamie Lokier
Amit Shah wrote: > Problem is we're going to have to maintain a lot of state if we're going > to provide guarantees. > > One solution is to always have an in-qemu user of the serial > functionality that sits between the app and the guest and the in-qemu > user can signal to the app about such thin

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Amit Shah
On (Fri) Mar 26 2010 [11:29:03], Luiz Capitulino wrote: > On Fri, 26 Mar 2010 18:56:20 +0530 > Amit Shah wrote: > > > On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: > > > > > > + > > > > > > +VIRTIO_SERIAL > > > > > > +- > > > > > > > > > > It should be VIRTIO_SERIAL_ADD. >

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Amit Shah
On (Fri) Mar 26 2010 [14:44:23], Jamie Lokier wrote: > Amit Shah wrote: > > Problem is we're going to have to maintain a lot of state if we're going > > to provide guarantees. > > > > One solution is to always have an in-qemu user of the serial > > functionality that sits between the app and the g

Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event

2010-03-26 Thread Paul Brook
> On Thu, Mar 25, 2010 at 09:06:00PM +, Paul Brook wrote: > > > /* Force QEMU to process pending events */ > > > -void qemu_notify_event(void); > > > +void qemu_notify_event(QEMUIOWorker *worker); > > > > > > static void handle_input(VirtIODevice *vdev, VirtQueue *vq) > > > { > > > +qemu

[Qemu-devel] [PATCH 0/4] linux-user patches for upstream

2010-03-26 Thread Riku Voipio
From: Riku Voipio Also available from: git pull git://gitorious.org/qemu-maemo/qemu-maemo.git linux-user-for-upstream Mostly trivial new syscalls, but more urgently fix the 0 sized write which is a regression from Richard Henderson's multilevel page table patches. Michael Casadevall (2): lin

[Qemu-devel] [PATCH 2/4] linux-user: Add the syscall id for pselect6 on ARM

2010-03-26 Thread Riku Voipio
From: Michael Casadevall As this is now supported in newer linux kernels. Signed-off-by: Michael Casadevall Signed-off-by: Riku Voipio --- linux-user/arm/syscall_nr.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall

[Qemu-devel] [PATCH 3/4] Add inotify_init1 syscall support

2010-03-26 Thread Riku Voipio
From: Riku Voipio New syscall which gets actively used when you have a fresh kernel. Signed-off-by: Riku Voipio --- configure| 18 ++ linux-user/syscall.c | 14 ++ 2 files changed, 32 insertions(+), 0 deletions(-) diff --git a/configure b/configure

[Qemu-devel] [PATCH 4/4] fix 0 sized write syscall

2010-03-26 Thread Riku Voipio
From: Riku Voipio fixes running ldconfig under qemu linux-user Signed-off-by: Riku Voipio Cc: Richard Henderson Cc: martin.mohr...@opensuse.org --- exec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/exec.c b/exec.c index 14767b7..c834be2 100644 --- a/exec.c ++

[Qemu-devel] [PATCH 1/4] linux-user: add pselect syscall

2010-03-26 Thread Riku Voipio
From: Michael Casadevall This patch adds support for the pselect syscall in linux-user emulation and also adds several support functions required to translate the timespec structs between the target and the host. Signed-off-by: Riku Voipio Signed-off-by: Michael Casadevall --- linux-user/sysc

Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event

2010-03-26 Thread Anthony Liguori
On 03/26/2010 10:23 AM, Paul Brook wrote: On Thu, Mar 25, 2010 at 09:06:00PM +, Paul Brook wrote: /* Force QEMU to process pending events */ -void qemu_notify_event(void); +void qemu_notify_event(QEMUIOWorker *worker); static void handle_input(VirtIODevice *vdev, VirtQueue *vq)

Re: [Qemu-devel] Re: [PATCH v3 0/2] Inter-VM shared memory PCI device

2010-03-26 Thread Cam Macdonell
On Thu, Mar 25, 2010 at 7:32 PM, Jamie Lokier wrote: > Cam Macdonell wrote: >> An irqfd can only trigger a single vector in a guest.  Right now I >> only have one eventfd per guest.    So ioeventfd/irqfd restricts the >> current implementation to a single vector that a guest can trigger. >> Withou

[Qemu-devel] Re: [PATCH v3 0/2] Inter-VM shared memory PCI device

2010-03-26 Thread Avi Kivity
On 03/26/2010 01:05 AM, Cam Macdonell wrote: I meant a unicast doorbell: 16 bits for guest ID, 16 bits for vector number. Ah, yes. Who knew "two bit registers" is an ambiguous term. Do you strongly prefer the one doorbell design? Just floating out ideas. An advantage is that it

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Avi Kivity
On 03/25/2010 10:18 AM, Alexander Graf wrote: libqemu.so would be a C API. C is not the first choice for writing GUIs or management applications. So it would need to be further wrapped. We also need to allow qemu to control the display directly, without going through vnc. For the cu

[Qemu-devel] [PATCH 14/48] multikeyboard support merge

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki On some systems (such as n900), multiple physical devices can create keyboard events (gpio, lis302dl, twl4030, ..). Add hooks to make it possible to recieve keyboard input from multiple devices. merge our version with upstream multikb support Signed-Off-By: Riku Voipio Sig

[Qemu-devel] [PATCH 16/48] sdl: multitouch and window close suppport

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - show shutting down status in window caption - add display close handler support - add support for disabling input grabbing - add ability to disable window grab: currently if the qemu window is inactive and you click inside the qemu window the input will be grabbed. with to

[Qemu-devel] [PATCH 13/48] multitouch and window close handler

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- console.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index 8bcd00b..8b24318 100644 --- a/console.c +++ b/console.c @@ -32,6 +32,24 @@ #defin

[Qemu-devel] [PATCH 28/48] prepare smc driver support for omap

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/devices.h |5 - hw/smc91c111.c | 22 ++ 2 files changed, 26 insertions(+), 1 deletions(-) diff --git a/hw/devices.h b/hw/devices.h index e9e8ec7..b4c10c5 100644 --- a/hw/devices

[Qemu-devel] [PATCH 15/48] fix function signature of qemu_chr_open_pty on !linux

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- qemu-char.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index a3d6e64..1e5b515 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -1218,7 +1218,7 @@ static CharDr

[Qemu-devel] [PATCH 00/48] RFC: omap3 patch collection

2010-03-26 Thread Riku Voipio
From: Riku Voipio Hi, This set of patches is quite raw, intended mostly just for discussion at this point. We'd like to identify the unobjectionable patches and "ready for upstream with minor fixes" patches first, so we can send them for a pull request. After which we can start diving more deepl

[Qemu-devel] [PATCH 08/48] Cortex-A8 R2 support and trustzone

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- target-arm/cpu.h|7 +- target-arm/helper.c | 330 +-- 2 files changed, 220 insertions(+), 117 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu

[Qemu-devel] [PATCH 07/48] Shrink tb_jmp_offset to two entries, the other two are never used.

2010-03-26 Thread Riku Voipio
From: Filip Navara Signed-Off-By: Riku Voipio Signed-off-by: Filip Navara --- exec-all.h |5 + translate-all.c |4 2 files changed, 1 insertions(+), 8 deletions(-) diff --git a/exec-all.h b/exec-all.h index 37da2f5..b9f0294 100644 --- a/exec-all.h +++ b/exec-all.h @@ -14

[Qemu-devel] [PATCH 06/48] Get rid of AREG1 and AREG2.

2010-03-26 Thread Riku Voipio
From: Filip Navara Signed-Off-By: Riku Voipio Signed-off-by: Filip Navara --- dyngen-exec.h | 26 -- tcg/arm/tcg-target.h|2 -- tcg/hppa/tcg-target.h |2 -- tcg/i386/tcg-target.h |2 -- tcg/ppc/tcg-target.h|2 -- tcg/ppc64/tcg-tar

[Qemu-devel] [PATCH 17/48] add multi-sd support

2010-03-26 Thread Riku Voipio
From: Riku Voipio N900 and other devices can have more than one sd/mmc card, and thus the -sd command line option needs to be read multiple times. Signed-Off-By: Riku Voipio --- vl.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vl.c b/vl.c index d69250c..b4df

[Qemu-devel] [PATCH 23/48] multi-mmc support in init call

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki change sd_init convention to allow multiple entries Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/omap_mmc.c|4 ++-- hw/pl181.c |2 +- hw/pxa2xx_mmci.c |2 +- hw/sd.h |4 +++- hw/ssi-sd.c |2 +- 5 files change

[Qemu-devel] [PATCH 01/48] arm-dis debug helper

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki modified the arm disassembler to include the opcode binary representation along with the symbolic disassembly. Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- arm-dis.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arm-dis.

[Qemu-devel] [PATCH 18/48] make cursor grab optional

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- sysemu.h |1 + vl.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sysemu.h b/sysemu.h index 525efd1..5b4ddd8 100644 --- a/sysemu.h +++ b/sysemu.h @@ -128,6 +128,7 @@ extern int usb_enabled; extern int smp_cpus

[Qemu-devel] [PATCH 47/48] target-arm: fix neon vshll (shift < max)

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |1 - target-arm/translate.c |4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 7cef783..d75cb47 1

[Qemu-devel] [PATCH 38/48] target-arm: fix neon vrshl instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 19 --- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index ec1964f..0df13f5 100644 --- a/target-

Re: [Qemu-devel] [PATCH 4/4] fix 0 sized write syscall

2010-03-26 Thread Richard Henderson
On 03/26/2010 08:25 AM, Riku Voipio wrote: > +if (len == 0) { > +return 0; > +} This part is ok. > > -if (start + len - 1 < start) { > +if (start + len < start) { This part re-introduces the bug I fixed. start = 0xff00 len = 256 should succeed, and it won't re

[Qemu-devel] [PATCH 40/48] target-arm: fix neon v(r)sra instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 97fac4d..964baf5 100644 --- a/target-arm/translate.c +++ b/

[Qemu-devel] [PATCH 39/48] target-arm: fix neon vrshr instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 0df13f5..4604698 100644 --- a/target-arm/neon_hel

[Qemu-devel] [PATCH 25/48] blizzard: fix for non-32bpp host displays

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/blizzard.c | 102 +--- 1 files changed, 53 insertions(+), 49 deletions(-) diff --git a/hw/blizzard.c b/hw/blizzard.c index 7cbb358..d110eec 100644 --- a/hw/

[Qemu-devel] [PATCH 48/48] usb: fix -usbdevice option handling with no parameters

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- hw/usb-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index ce8a694..9132d00 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -299,7 +299,7 @@ USBDevice

[Qemu-devel] [PATCH 09/48] console change headers

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki multitouch, multi-keyboard and window close hook support Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- console.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/console.h b/console.h index 6def115..b1362ff 100644 --- a

[Qemu-devel] [PATCH 46/48] target-arm: fix neon vrsqrts instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/helper.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 798e9f9..1f5f307 100644 --- a/target-arm/helper.c +++ b/target-arm/he

[Qemu-devel] [PATCH 45/48] target-arm: fix neon vcvt fixed-point

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 92c8a1a..fd3a72e 100644 --- a/target-arm/translate.c +

[Qemu-devel] [PATCH 43/48] target-arm: fix neon vq(r)dmulh.s16 instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 910f84a..6464317 100644 --- a/target-arm/neon_helper.c

[Qemu-devel] [PATCH 42/48] target-arm: fix signed narrow 64->32 operation

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 4604698..910f84a 100644 --- a/target-arm/neon_hel

[Qemu-devel] [PATCH 41/48] target-arm: fix neon vld1 single element to all lanes

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 964baf5..de2ea92 100644 --- a/target-arm/translat

[Qemu-devel] [PATCH 35/48] target-arm: fix neon vmon/vmvn with modified immediate

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index e5f5cfb..26e6bf4 100644 --- a/target-arm/translate.c +++ b/ta

[Qemu-devel] [PATCH 32/48] Add beagleboard and n900 machine definitions

2010-03-26 Thread Riku Voipio
From: Riku Voipio Wire in all the code from previous patches. Beagleboard code based on Yajin's initial work. Cc: ya...@vm-kernel.org Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- Makefile.target |7 +- hw/beagle.c | 108 + hw/nseries.c| 288

[Qemu-devel] [PATCH 12/48] cocoa frontend changes

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki remove help menu, fix fullscreen mode mouse handling, add confirmation dialog to quit menu command, add support for undocumented alt-grab and ctrl-grab options, add qemu version printout in about panel. - fix build on os x versions prior to 10.6 - cocoa window handling fixes

[Qemu-devel] [PATCH 22/48] License update

2010-03-26 Thread Riku Voipio
From: Riku Voipio Legal requested us to be open to future. Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/blizzard.c |2 +- hw/blizzard_template.h |2 +- hw/cbus.c |2 +- hw/lm832x.c|2 +- hw/nseries.c |7 -

[Qemu-devel] [PATCH 44/48] target-arm: fix neon v(q)(r)shrn instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 23 +-- target-arm/translate.c | 19 ++- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/

[Qemu-devel] [PATCH 21/48] NAND emulation overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - Enhanced existing NAND emulation to support other than 8-bit devices. - Enhanced existing NAND emulation to support over 1Gb devices. - Enhanced existing NAND emulation to support cache status bits and read cache commands. - Fixed existing NAND emulation to correctly handl

[Qemu-devel] [PATCH 04/48] audio: fix integer overflow expression

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- audio/mixeng_template.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/mixeng_template.h b/audio/mixeng_template.h index 5617705..80af364 100644 --- a/audio/mixeng_template.h +

[Qemu-devel] [PATCH 34/48] target-arm: add support for smc

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- hw/omap3_boot.c| 32 +++ target-arm/cpu.h | 10 +-- target-arm/helper.c| 67 +++- target-arm/translate.c | 31

[Qemu-devel] [PATCH 30/48] savevm and reset support for soc_dma

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- hw/soc_dma.c | 72 +- hw/soc_dma.h |4 ++- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/hw/soc_dma.c b/hw/soc_dma.c index 8147ed5..280fe92 100644 --- a/hw/soc_dma.c

[Qemu-devel] [PATCH 20/48] add reset support for musb

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/usb-musb.c | 29 +++-- hw/usb.h |1 + 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/hw/usb-musb.c b/hw/usb-musb.c index 7f15842..a83cd85 100644 --- a/hw/us

[Qemu-devel] [PATCH 29/48] Add triton2 (twl4030) driver

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki The swiss knife companion chip for omap3 Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/i2c.h | 10 + hw/twl4030.c | 1469 ++ 2 files changed, 1479 insertions(+), 0 deletions(-) create mode 1

[Qemu-devel] [PATCH 19/48] usb-ohci: add omap init support

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- hw/usb-ohci.c | 12 hw/usb-ohci.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 93f7d79..c9865f4 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -61,6 +61,7 @@ typ

[Qemu-devel] [PATCH 37/48] target-arm: fix neon vqrshl instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 7985293..ec1964f 100644 --- a/targe

[Qemu-devel] [PATCH 27/48] tsc2005 overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/tsc2005.c | 173 -- 1 files changed, 120 insertions(+), 53 deletions(-) diff --git a/hw/tsc2005.c b/hw/tsc2005.c index b75cc86..da39979 100644 --- a/hw

[Qemu-devel] [PATCH 36/48] target-arm: fix neon vqshl/vqshlu instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/helpers.h |4 +++ target-arm/neon_helper.c | 58 + target-arm/translate.c | 28 +++--- 3 files changed, 70 insertions(+), 20 de

[Qemu-devel] [PATCH 24/48] onenand overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - major onenand emulation changes - add reset support - onenand: ignore zero writes to boot command area Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/flash.h |5 +- hw/onenand.c | 275 -- 2

[Qemu-devel] [PATCH 26/48] SD overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - reset support - add high capacity mmc support - sd: improve mmc emulation - make sd emulation work as mmc emulation as well - handle SD CMD5 without error messages - remove couple of unnecessary error messages - Fix block count for OMAP3 MMC emulation Signed-Off-By: Riku V

[Qemu-devel] [PATCH 05/48] audio: fix coreaudio compilation

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki audio: fix coreaudio compilation on OS X 10.6 and OS X 10.5 --- audio/coreaudio.c | 81 +++-- 1 files changed, 78 insertions(+), 3 deletions(-) diff --git a/audio/c

[Qemu-devel] Re: [PATCH v3 1/1] Shared memory uio_pci driver

2010-03-26 Thread Cam Macdonell
On Thu, Mar 25, 2010 at 10:35 AM, Avi Kivity wrote: > On 03/25/2010 06:24 PM, Cam Macdonell wrote: >> >>> There is now a generic PCI 2.3 driver that can handle all PCI devices. >>>  It >>> doesn't support MSI, but if we add MSI support then it can be used >>> without >>> the need for a specialized

Re: [Qemu-devel] [PATCH -v2 02/22] vrtio-9p: Implement P9_TVERSION for 9P

2010-03-26 Thread Anthony Liguori
On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguori [ki...@linux.vnet.ibm.com: malloc to qemu_malloc coversion] Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V --- hw/virtio-9p.c | 263 +++- 1 files changed

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread Anthony Liguori
On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguori [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V --- Makefile.target |2 +- hw/virtio-9p-local.c | 84 +++ hw/virtio-9p.c

[Qemu-devel] [PATCH] qcow2: Fix creation of large images

2010-03-26 Thread Kevin Wolf
qcow_create2 assumes that the new image will only need one cluster for its refcount table initially. Obviously that's not true any more when the image is big enough (exact value depends on the cluster size). This patch calculates the refcount table size dynamically. Signed-off-by: Kevin Wolf ---

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Anthony Liguori
On 03/26/2010 09:29 AM, Luiz Capitulino wrote: On Fri, 26 Mar 2010 18:56:20 +0530 Amit Shah wrote: On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: + +VIRTIO_SERIAL +- It should be VIRTIO_SERIAL_ADD. What about other events that VIRTI

Re: [Qemu-devel] [PATCH 38/48] target-arm: fix neon vrshl instruction

2010-03-26 Thread Nathan Froyd
On Fri, Mar 26, 2010 at 04:06:58PM +, Riku Voipio wrote: > +uint32_t HELPER(neon_rshl_u32)(uint32_t val, uint32_t shiftop) > +{ > +int8_t shift = (int8_t)shiftop; > +if (shift >= 32 || shift < -32) { > +val = 0; > +} else if (shift == -32) { > +val >>= shift - 1;

Re: [Qemu-devel] [PATCH 00/48] RFC: omap3 patch collection

2010-03-26 Thread Paul Brook
> This set of patches is quite raw, intended mostly just for discussion > at this point. We'd like to identify the unobjectionable patches and > "ready for upstream with minor fixes" patches first, so we can send > them for a pull request. After which we can start diving more deeply > into restruct

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 20:13:09 +0530 Amit Shah wrote: > On (Fri) Mar 26 2010 [11:29:03], Luiz Capitulino wrote: > > On Fri, 26 Mar 2010 18:56:20 +0530 > > Amit Shah wrote: > > > > > On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: > > > > > > > + > > > > > > > +VIRTIO_SERIAL > > > > > > >

Re: [Qemu-devel] Re: KVM call agenda for Mar 23

2010-03-26 Thread Chris Wright
* Jes Sorensen (jes.soren...@redhat.com) wrote: > As long as the bits are sitting in the tree without disturbing other > parts, then I just think we should let them sit there. Yup, I agree (there == qemu-kvm.git), and it doesn't need to be a gating factor for pushing the merge into qemu.git. than

Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: 'keyboard_set' and 'info keybaord'

2010-03-26 Thread Shahar Havivi
On Fri, Mar 26, 2010 at 10:57:58AM +0100, Markus Armbruster wrote: > Date: Fri, 26 Mar 2010 10:57:58 +0100 > From: Markus Armbruster > To: Shahar Havivi > Cc: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: > 'keyboard_set' and 'info keybaord' > > Shahar Ha

Re: [Qemu-devel] Significant performance regression in qemu-system-mips.

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:53:02AM -0500, Rob Landley wrote: > > > As far as I can tell the sh4 linux-kernel maintainer officially doesn't > > > care about anybody who isn't employed by his company, so I'm not sure I > > > still care about supporting that platform. It's not real hardware, it's > >

[Qemu-devel] [PATCH 00/10] Today's compilation fixes

2010-03-26 Thread Blue Swirl
Comments, anyone? Blue Swirl (10): pflash_cfi02: fix incorrect TARGET_FMT_lx/d use Compile pflash_cfi02 only once Compile pflash_cfi01 only once Compile ide/macio only once Compile openpic only once Compile prep_pci only once Compile most PPC devices only once Compile virtio-serial

[Qemu-devel] [PATCH 01/10] pflash_cfi02: fix incorrect TARGET_FMT_lx/d use

2010-03-26 Thread Blue Swirl
Also use target_phys_addr_t for addresses. Signed-off-by: Blue Swirl --- hw/pflash_cfi02.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index 135c850..50b4c6c 100644 --- a/hw/pflash_cfi02.c +++ b/hw/

[Qemu-devel] [PATCH 02/10] Compile pflash_cfi02 only once

2010-03-26 Thread Blue Swirl
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|6 +- default-configs/arm-softmmu.mak|1 + default-configs/cris-softmmu.mak |1 + default-configs/ppc-softmmu.ma

[Qemu-devel] [PATCH 03/10] Compile pflash_cfi01 only once

2010-03-26 Thread Blue Swirl
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|5 +- default-configs/arm-softmmu.mak|1 + default-configs/microblaze-softmmu.mak |1 + default-config

  1   2   >