Fine with me
On Apr 29, 2011, at 19:24, Dmitry Zhurikhin wrote:
> On 05/11/2010 12:18 AM, Anthony Liguori wrote:
>> On 04/18/2010 02:21 PM, Shahar Havivi wrote:
>>> Patch add QEMUPutKbdEntry structure - handling each keyboard entry, the
>>> structure han
Remove usb_host_device_release and using usb_host_close to handle usb_del
command.
Gerd, What do you think about the usb_cleanup()?
If it will be in usb-linux.c we will
have to ad atexit to each device, if we usb-bus.c we will have to implement in
bsd and stub...
Signed-off-by: Shahar Havivi
On Tue, May 25, 2010 at 10:58:50AM +0200, Gerd Hoffmann wrote:
> Date: Tue, 25 May 2010 10:58:50 +0200
> From: Gerd Hoffmann
> To: Shahar Havivi
> CC: "David S. Ahern" ,
> Markus Armbruster , qemu-devel@nongnu.org
> Subject: Re: [PATCH] Release usb devices on
On Mon, May 10, 2010 at 03:18:29PM -0500, Anthony Liguori wrote:
> Date: Mon, 10 May 2010 15:18:29 -0500
> From: Anthony Liguori
> To: Shahar Havivi
> CC: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH 1/2 v4] Support for multiple keyboard
> devices
>
> On 04/
On Tue, Jun 08, 2010 at 12:43:50PM +0200, jes.soren...@redhat.com wrote:
> Date: Tue, 8 Jun 2010 12:43:50 +0200
> From: jes.soren...@redhat.com
> To: anth...@codemonkey.ws
> Cc: qemu-devel@nongnu.org, shav...@redhat.com,
> Jes Sorensen
> Subject: [PATCH] un-register kbd driver for USB kbd u
v3:
separate usb hot-unplug and host terminate handling
remove empty methods from bsd and stub
added usb-linux atexit method to reset usb devices on termination
Shahar Havivi (2):
Return usb device to host on usb_del command
Return usb device to host on exit
usb-linux.c | 13
Signed-off-by: Shahar Havivi
---
usb-linux.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 88273ff..22a85e3 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -991,6 +991,7 @@ static int usb_host_close(USBHostDevice *dev)
async_complete
Signed-off-by: Shahar Havivi
---
usb-linux.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 22a85e3..2a595f0 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -286,6 +286,17 @@ static void async_cancel(USBPacket *unused, void
Signed-off-by: Shahar Havivi
---
usb-linux.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 22a85e3..4b5aeb6 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -33,6 +33,7 @@
#include "qemu-common.h"
#inc
v4:
use exit notifier instead of atexit()
Shahar Havivi (2):
Return usb device to host on usb_del command
Return usb device to host on exit
usb-linux.c | 20
1 files changed, 20 insertions(+), 0 deletions(-)
Signed-off-by: Shahar Havivi
---
usb-linux.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 88273ff..22a85e3 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -991,6 +991,7 @@ static int usb_host_close(USBHostDevice *dev)
async_complete
On Wed, Jun 16, 2010 at 10:48:23AM +0200, Gerd Hoffmann wrote:
> Date: Wed, 16 Jun 2010 10:48:23 +0200
> From: Gerd Hoffmann
> To: Shahar Havivi
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH 2/2] Return usb device to host on exit
>
> >+static void
v5:
Fix to Gerd Hoffmann comments on v4.
Shahar Havivi (2):
Return usb device to host on usb_del command
Return usb device to host on exit
usb-linux.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
Signed-off-by: Shahar Havivi
---
usb-linux.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 22a85e3..c3c38ec 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -33,6 +33,7 @@
#include "qemu-common.h"
#include &qu
Signed-off-by: Shahar Havivi
---
usb-linux.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 88273ff..22a85e3 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -991,6 +991,7 @@ static int usb_host_close(USBHostDevice *dev)
async_complete
v keyboard selected.
Patch #2 adding 2 new monitor command to handle keyboard list:
'info keyboard' - show all keyboards and mark the current one
'keyboard_set' - set active keyboard by index as display in
'info keyboard
Signed-off-by: Shahar Havivi
---
console.h| 15 +++-
hw/adb.c |2 +-
hw/escc.c|3 +-
hw/musicpal.c|2 +-
hw/nseries.c |4 +-
hw/palm.c|2 +-
hw/ps2.c |2 +-
hw/pxa2xx_keypad.c |3
Signed-off-by: Shahar Havivi
---
console.h |5 ++
hw/usb-hid.c|6 +++
input.c | 111 +++
monitor.c |8
qemu-monitor.hx | 18 +
5 files changed, 148 insertions(+), 0 deletions(-)
diff --git a
When there is no block driver associate with BlockDriverState bdrv_getlength
returns -ENOMEDIUM that cause block migration to fail.
Signed-off-by: Shahar Havivi
---
block-migration.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block-migration.c b/block-migration.c
When there is no block driver associate with BlockDriverState bdrv_getlength
returns -ENOMEDIUM that cause block migration to fail
v2:
fix sectors<0 to sectors<=0
Signed-off-by: Shahar Havivi
---
block-migration.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a
Signed-off-by: Shahar Havivi
---
migration-tcp.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/migration-tcp.c b/migration-tcp.c
index 78b56dc..b55f419 100644
--- a/migration-tcp.c
+++ b/migration-tcp.c
@@ -151,7 +151,7 @@ static void tcp_accept_incoming_migration
Qemu have a hack for capslock that is not working with Ubuntu.
attached patch that fix it, as describe in this bug:
https://bugs.launchpad.net/qemu/+bug/427612
Signed-off-by: Shahar Havivi
---
sdl.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/sdl.c b/sdl.c
n and up.
Shahar.
On Fri, Feb 12, 2010 at 11:54 AM, Kevin Wolf wrote:
> Am 11.02.2010 22:13, schrieb Shahar Havivi:
>> Qemu have a hack for capslock that is not working with Ubuntu.
>> attached patch that fix it, as describe in this bug:
>> https://bugs.launchpad.net/qemu/+b
when exiting qemu that run with "-monitor /dev/tty", the launching
terminal get weird behaviour because no restore terminals action has
taken.
added chr_close and register atexit() code for tty devices (like stdio
does)
Signed-off-by: Shahar Havivi
---
qemu-char.c | 14 +
On Sat, Feb 20, 2010 at 08:18:54AM -0700, David S. Ahern wrote:
> Date: Sat, 20 Feb 2010 08:18:54 -0700
> From: "David S. Ahern"
> To: Shahar Havivi
> CC: qemu-devel@nongnu.org, Dor Laor
> Subject: Re: [Qemu-devel] [PATCH] terminal attributes is not restored when
On Sat, Feb 20, 2010 at 11:03:41AM -0600, Anthony Liguori wrote:
> Date: Sat, 20 Feb 2010 11:03:41 -0600
> From: Anthony Liguori
> To: "David S. Ahern"
> Cc: Dor Laor , Shahar Havivi ,
> qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH] terminal att
On Sun, Feb 21, 2010 at 07:32:41AM -0700, David S. Ahern wrote:
> Date: Sun, 21 Feb 2010 07:32:41 -0700
> From: "David S. Ahern"
> To: Shahar Havivi
> CC: Anthony Liguori , Dor Laor ,
> qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH] terminal att
Patch http://permalink.gmane.org/gmane.comp.emulators.qemu/63472 handle
close when using tty devices (like /dev/ttyS0),
yet tty based monitor are not restoring terminal attributes (as done
with stdio based monitor), when closing qemu after that command:
$ qemu -monitor /dev/tty
the terminal is no
Fix codding style
---
qemu-char.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 4169492..4533887 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1002,6 +1002,7 @@ static void tty_serial_init(int fd, int speed,
speed, par
On Fri, Feb 26, 2010 at 03:19:19PM -0700, David S. Ahern wrote:
> Date: Fri, 26 Feb 2010 15:19:19 -0700
> From: "David S. Ahern"
> To: Shahar Havivi
> CC: qemu-devel@nongnu.org, Dor Laor
> Subject: Re: [Qemu-devel] [PATCH] Restore terminal attributes for tty based
>
On Sat, Feb 27, 2010 at 09:20:28AM -0700, David S. Ahern wrote:
> Date: Sat, 27 Feb 2010 09:20:28 -0700
> From: "David S. Ahern"
> To: Shahar Havivi
> CC: qemu-devel@nongnu.org, Dor Laor
> Subject: Re: [Qemu-devel] [PATCH] Restore terminal attributes for tty based
>
Monitor command 'block_passwd' reports a wrong error message when
drive is not encrypted
Signed-off-by: Shahar Havivi
---
block.c |9 ++---
monitor.c |7 ++-
qerror.c |4
qerror.h |3 +++
4 files changed, 19 insertions(+), 4 deletions(-)
diff --git a
On Fri, Mar 05, 2010 at 04:22:55PM +0100, Kevin Wolf wrote:
> Date: Fri, 05 Mar 2010 16:22:55 +0100
> From: Kevin Wolf
> To: Shahar Havivi
> CC: qemu-devel@nongnu.org, Dor Laor ,
> Luiz Capitulino
> Subject: Re: [PATCH] Wrong error message in block_passwd command
>
The next two patches fix the wrong error message in block_passwd
monitor command: when trying to decrypt un-encrypted drive, user
get error wrong password.
"1" add error message to qerror.h and qerror.c
"2" patch the monitor command error handling
Shahar Haviv
Signed-off-by: Shahar Havivi
---
qerror.c |4
qerror.h |3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qerror.c b/qerror.c
index 2f657f4..4e63a54 100644
--- a/qerror.c
+++ b/qerror.c
@@ -49,6 +49,10 @@ static const QErrorStringTable qerror_table
Signed-off-by: Shahar Havivi
---
block.c |7 +--
monitor.c |7 ++-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/block.c b/block.c
index 31d1ba4..e891544 100644
--- a/block.c
+++ b/block.c
@@ -1134,8 +1134,11 @@ int bdrv_set_key(BlockDriverState *bs, const
, segfault
This patch fix the segfault and add list of all the keyboard handle much
like the mouse device does.
Signed-off-by: Shahar Havivi
---
console.h|9 +-
hw/usb-hid.c |9 --
input.c | 81 +-
3 files changed
any serial device).
Signed-off-by: Shahar Havivi
---
qemu-char.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 0e25ef3..4bf1e82 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1002,7 +1002,9 @@ static void tty_serial_init(int fd, int
.
Signed-off-by: Shahar Havivi
---
console.h| 16 +-
hw/adb.c |2 +-
hw/escc.c|3 +-
hw/musicpal.c|2 +-
hw/nseries.c |4 +-
hw/palm.c|2 +-
hw/ps2.c |2 +-
hw/pxa2xx_keypad.c |2
7;info keyboard' - show all keyboards and mark the current one
'keyboard_set' - set active keyboard by index as display in
'info keyboard'
Shahar Havivi (2):
Support for multiple keyboard devices
Added monitor com
This new monitor command adding ability to handle which keyboard qemu will use
and to see which keyboard are currently available.
Signed-off-by: Shahar Havivi
---
input.c | 73 +++
monitor.c |8 ++
qemu-monitor.hx
gcc 4.4.1 produce a warning 'format not a string literal and no format
arguments'
Signed-off-by: Shahar Havivi
---
qemu-error.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-error.c b/qemu-error.c
index 5d5fe37..14ec14f 100644
--- a/qemu-error.c
On Fri, Mar 19, 2010 at 05:22:05PM -0300, Luiz Capitulino wrote:
> Date: Fri, 19 Mar 2010 17:22:05 -0300
> From: Luiz Capitulino
> To: Shahar Havivi
> Cc: Dor Laor , qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: 'keyboard_set'
&
Fix to Luiz comments.
Signed-off-by: Shahar Havivi
---
console.h |4 ++
input.c | 104 +++
monitor.c |8
qemu-monitor.hx | 17 +
qerror.c|8
qerror.h|6 +++
6 files
command to handle keyboard list:
'info keyboard' - show all keyboards and mark the current one
'keyboard_set' - set active keyboard by index as display in
'info keyboard'
Shahar Havivi (2):
Support for multiple k
-off-by: Shahar Havivi
---
console.h| 12 ++-
hw/adb.c |2 +-
hw/escc.c|3 +-
hw/musicpal.c|2 +-
hw/nseries.c |4 +-
hw/palm.c|2 +-
hw/ps2.c |2 +-
hw/pxa2xx_keypad.c |2 +-
hw/spitz.c
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
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
On Fri, Mar 26, 2010 at 10:46:14AM +0100, Markus Armbruster wrote:
> > +QEMUPutKbdEntry *qemu_add_kbd_event_handler(QEMUPutKBDEvent *func,
> > +void *opaque,
> > +const char *name)
> > +{
> > +QEMUPutKbdEntr
Fix to Markus comments.
---
console.h |6 +++
input.c | 119 ++
monitor.c |8
qemu-monitor.hx | 17
4 files changed, 141 insertions(+), 9 deletions(-)
diff --git a/console.h b/console.h
index 7d1940
eyboard by index as display in
'info keyboard'
Shahar Havivi (2):
Support for multiple keyboard devices
Added monitor commands: 'keyboard_set' and 'info keybaord'
console.h| 18 ++-
hw/adb.c |2 +-
hw/esc
-off-by: Shahar Havivi
---
console.h| 14 -
hw/adb.c |2 +-
hw/escc.c|3 +-
hw/musicpal.c|2 +-
hw/nseries.c |4 +-
hw/palm.c|2 +-
hw/ps2.c |2 +-
hw/pxa2xx_keypad.c |3 +-
hw
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 | 101
On Wed, Mar 31, 2010 at 12:12:15PM +0200, Juan Quintela wrote:
> Date: Wed, 31 Mar 2010 12:12:15 +0200
> From: Juan Quintela
> To: Shahar Havivi
> Cc: qemu-devel@nongnu.org
> Subject: Re: [PATCH 1/2] Support for multiple keyboard devices
>
> Shahar Havivi wrote:
> >
On Wed, Mar 31, 2010 at 05:10:22PM +0200, Markus Armbruster wrote:
> Date: Wed, 31 Mar 2010 17:10:22 +0200
> From: Markus Armbruster
> To: Shahar Havivi
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH 2/2] Added monitor commands:
> 'keyboard_set' and
On Wed, Mar 31, 2010 at 05:23:46PM +0200, Markus Armbruster wrote:
> Date: Wed, 31 Mar 2010 17:23:46 +0200
> From: Markus Armbruster
> To: Shahar Havivi
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [PATCH 1/2] Support for multiple keyboard devices
>
>
On Wed, Mar 31, 2010 at 05:31:49PM +0200, Markus Armbruster wrote:
> Date: Wed, 31 Mar 2010 17:31:49 +0200
> From: Markus Armbruster
> To: Juan Quintela
> Cc: Shahar Havivi , qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] Re: [PATCH 2/2] Added monitor commands:
> '
On Wed, Mar 31, 2010 at 06:58:14PM +0200, Juan Quintela wrote:
> Date: Wed, 31 Mar 2010 18:58:14 +0200
> From: Juan Quintela
> To: Markus Armbruster
> Cc: Shahar Havivi , qemu-devel@nongnu.org
> Subject: [Qemu-devel] Re: [PATCH 2/2] Added monitor commands: 'keyboard_se
bit into a qemu_activate_keyboard_handler()
> and plumb it with the usb device such that it's only used when a
> guest loads a driver for it.
>
> It should be very symmetric to how the mouse driver works.
>
> Regards,
>
> Anthony Liguori
Anthony,
Added qemu_activate_key
and mark the current one
'keyboard_set' - set active keyboard by index as display in
'info keyboard'
Shahar Havivi (2):
Support for multiple keyboard devices
Two new monitor commands: 'info keyboard', 'keyboa
Patch add QEMUPutKbdEntry structure - handling each keyboard entry, the
structure handled
by qemu tail queue.
Adding a new keyboard add to the list and select it, removing keyboard select
the previous
keyboard in list.
Signed-off-by: Shahar Havivi
---
console.h| 14
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 |5 ++
hw/usb-hid.c|6 +++
input.c | 111
When removing usb on guest via usb_del monitor command, qemu does
not return the control to the host, the only solution user have is to
unplug/plug the device again in order to get the device back to the host
Signed-off-by: Shahar Havivi
---
hw/usb-bus.c |4
hw/usb.h |1 +
usb
On Sat, May 01, 2010 at 10:38:51PM -0400, Kevin O'Connor wrote:
> Date: Sat, 1 May 2010 22:38:51 -0400
> From: Kevin O'Connor
> To: qemu-devel@nongnu.org, seab...@seabios.org
> Cc:
> Subject: [Qemu-devel] [PATCH] Fix qemu mouse Set_Protocol behavior
>
> The QEMU USB mouse claims to support the "
: Shahar Havivi
---
hw/usb-bus.c |4
hw/usb.h |2 ++
usb-bsd.c| 10 ++
usb-linux.c | 21 +
usb-stub.c | 10 ++
vl.c |1 +
6 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/hw/usb-bus.c b/hw/usb-bus.c
index
65 matches
Mail list logo