[Qemu-devel] [PATCH] tap-linux: Get features once and use it many times

2014-01-17 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi --- net/tap-linux.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/net/tap-linux.c b/net/tap-linux.c index 36c09e2..812bf2d 100644 --- a/net/tap-linux.c +++ b/net/tap-linux.c @@ -52,14 +52,17 @@ int tap_open(char *ifname, int

[Qemu-devel] [PATCH] raw-posix: Support discard on more filesystems

2013-01-05 Thread Kusanagi Kouichi
Linux 2.6.38 introduced the filesystem independent interface to deallocate part of a file. As of Linux 3.7, btrfs, ext4, ocfs2, tmpfs and xfs support it. Signed-off-by: Kusanagi Kouichi --- block/raw-posix.c | 22 -- configure | 19 +++ 2 files

Re: [Qemu-devel] [PATCH] configure: Virtfs doesn't require libcap.

2012-04-27 Thread Kusanagi Kouichi
On 2012-04-25 14:20:12 -0500, Anthony Liguori wrote: > On 04/22/2012 05:16 AM, Kusanagi Kouichi wrote: > >Only proxy helper does. > > > >Signed-off-by: Kusanagi Kouichi > > This broke the build: > > http://spunk.home.kraxel.org/bb/builders/ubuntu-default/buil

Re: [Qemu-devel] [PATCH] configure: Virtfs doesn't require libcap.

2012-04-26 Thread Kusanagi Kouichi
On 2012-04-25 14:20:12 -0500, Anthony Liguori wrote: > On 04/22/2012 05:16 AM, Kusanagi Kouichi wrote: > >Only proxy helper does. > > > >Signed-off-by: Kusanagi Kouichi > > This broke the build: > > http://spunk.home.kraxel.org/bb/builders/ubuntu-default/builds

[Qemu-devel] [PATCH] configure: Virtfs doesn't require libcap.

2012-04-22 Thread Kusanagi Kouichi
Only proxy helper does. Signed-off-by: Kusanagi Kouichi --- configure |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 2d62d12..c8e6fe4 100755 --- a/configure +++ b/configure @@ -2860,9 +2860,11 @@ tools= if test "$softmmu" =

[Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-26 Thread Kusanagi Kouichi
isa-serial,chardev=stdio fails with qemu-system-x86_64: -device isa-serial,chardev=stdio: Property 'isa-serial.chardev' can't take value 'stdio', it's in use Signed-off-by: Kusanagi Kouichi --- hw/qdev-properties.c |4 ++-- qemu-char.c |5 - qemu-ch

Re: [Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-25 Thread Kusanagi Kouichi
On 2011-04-25 15:27:20 +0530, Amit Shah wrote: > On (Fri) 22 Apr 2011 [21:59:42], Kusanagi Kouichi wrote: > > This fixes regression caused by commit > > 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 > > ("char: Prevent multiple devices opening same chardev"). > >

[Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-22 Thread Kusanagi Kouichi
This fixes regression caused by commit 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 ("char: Prevent multiple devices opening same chardev"). Signed-off-by: Kusanagi Kouichi --- hw/qdev-properties.c |4 ++-- qemu-char.c |5 - qemu-char.h |2 +- 3 files

[Qemu-devel] [PATCH] virtio-9p: Return ENOSYS for unhandled requests.

2011-04-01 Thread Kusanagi Kouichi
Linux 2.6.39-rc1 guest causes qemu to abort when it sync or umount a rw 9p mount. Signed-off-by: Kusanagi Kouichi --- hw/virtio-9p.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 7c59988..03cd957 100644 --- a/hw/virtio-9p.c

[Qemu-devel] [PATCH] virtio-9p: Check the return value of llistxattr.

2010-10-29 Thread Kusanagi Kouichi
If llistxattr returned 0, qemu aborts. Signed-off-by: Kusanagi Kouichi --- hw/virtio-9p-xattr.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/virtio-9p-xattr.c b/hw/virtio-9p-xattr.c index 175f372..1aab081 100644 --- a/hw/virtio-9p-xattr.c +++ b/hw/virtio-9p

[Qemu-devel] [PATCH] monitor: Ignore "." and ".." when completing file name.

2010-10-20 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi --- monitor.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 260cc02..61607c5 100644 --- a/monitor.c +++ b/monitor.c @@ -3976,6 +3976,11 @@ static void file_completion(const char *input) d

[Qemu-devel] [Bug 521994] Re: Windows 98 doesn't detect mouse on qemu and SeaBIOS.

2010-08-16 Thread Kusanagi Kouichi
Looks to be fixed by commit 14ac15d3ac8e0ef1c91204e2ac772b6412a6b99e Author: Anthony Liguori Date: Tue May 11 07:56:30 2010 -0500 Update SeaBIOS - 7d09d0e Fix virtio compile errors on various gcc versions. - 89acfa3 Support for booting from virtio disks - 6d66316 smbios: av

[Qemu-devel] [PATCH v3 2/2] virtio-console: Notify resize to the guest.

2010-05-02 Thread Kusanagi Kouichi
config space update. v2: Rename virtio_serial_resize to virtio_serial_resize_console. Signed-off-by: Kusanagi Kouichi --- hw/virtio-console.c|3 +++ hw/virtio-serial-bus.c | 15 +++ hw/virtio-serial.h | 11 +-- 3 files changed, 27 insertions(+), 2 deletions

[Qemu-devel] [PATCH v2 2/2] virtio-console: Notify resize to the guest.

2010-04-30 Thread Kusanagi Kouichi
ze to virtio_serial_resize_console. Signed-off-by: Kusanagi Kouichi --- hw/virtio-console.c|3 +++ hw/virtio-serial-bus.c |8 hw/virtio-serial.h |9 +++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw/virtio-console.c b/hw/virtio-console.c index ca

Re: [Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest.

2010-04-29 Thread Kusanagi Kouichi
On 2010-04-29 16:17:18 +0530, Amit Shah wrote: > On (Thu) Apr 29 2010 [16:12:38], Kusanagi Kouichi wrote: > > On 2010-04-16 18:32:19 +0530, Amit Shah wrote: > > > On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote: > > > > > > > > Signed-off-by:

Re: [Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest.

2010-04-29 Thread Kusanagi Kouichi
On 2010-04-16 18:32:19 +0530, Amit Shah wrote: > On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote: > > > > Signed-off-by: Kusanagi Kouichi > > --- > > hw/virtio-console.c|3 +++ > > hw/virtio-serial-bus.c |8 > > hw/virtio-ser

[Qemu-devel] [PATCH 1/2] char: Handle resize.

2010-04-16 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi --- qemu-char.c | 34 ++ qemu-char.h |3 +++ 2 files changed, 37 insertions(+), 0 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 05df971..03f9cbd 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -437,6 +437,11

[Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest.

2010-04-16 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi --- hw/virtio-console.c|3 +++ hw/virtio-serial-bus.c |8 hw/virtio-serial.h |9 +++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw/virtio-console.c b/hw/virtio-console.c index bd44ec6..92dd03e 100644 --- a

[Qemu-devel] [PATCH] char: Remove redundant qemu_chr_generic_open() call.

2010-01-14 Thread Kusanagi Kouichi
qemu_chr_open_fd() calls qemu_chr_generic_open(), so qemu_chr_open_tty() doesn't need to call it. Signed-off-by: Kusanagi Kouichi --- qemu-char.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index b13f8d4..800ee6c 100644 --- a/qemu-c

Re: [Qemu-devel] [PATCH] Add chardev option to disable signal.

2009-10-17 Thread Kusanagi Kouichi
On 2009-10-16 09:04:51 -0500, Anthony Liguori wrote: > Kusanagi Kouichi wrote: > >If I am using vga and serial which is stdio and hit C-c on > >serial console, qemu terminates. That is annoying for me. > >So make it configurable whether signal is generated when C-c is hit.