[Qemu-devel] [Bug 586175] Re: Windows XP/2003 doesn't boot

2010-07-22 Thread Olivier Berger
I'm not sure all experience the same as me, but it may be worth having a look at the workaround I found, described here : http://bugs.debian.org /cgi-bin/bugreport.cgi?bug=579166#17 Hth. -- Windows XP/2003 doesn't boot https://bugs.launchpad.net/bugs/586175 You received this bug notification

Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help

2010-07-22 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 07/21/2010 04:58 PM, Daniel P. Berrange wrote: Yes there is. Use the version number. The version number is not suitable, because features can be removed at compile time and/or I don't see any features that libvirt would need to know

Re: [Qemu-devel] [PATCH] Use existing config check when including eventfd.h

2010-07-22 Thread Stefan Hajnoczi
On Thu, Jul 22, 2010 at 12:45 AM, Mike McCormack mi...@ring3k.org wrote: Signed-off-by: Mike McCormack mi...@ring3k.org ---  hw/vhost.c     |    2 ++  hw/vhost_net.c |    2 ++  2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index d37a66e..e1cd4d2

Re: [Qemu-devel] [PATCH v3 0/4] pci: split out bridge code into pci_bridge and make it library

2010-07-22 Thread Michael S. Tsirkin
On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote: Ping? You said you will rebase and repost? On Tue, Jul 13, 2010 at 01:01:38PM +0900, Isaku Yamahata wrote: Changes v2 - v1: v3 - dropped first patch as it is merdged. - rebased to mst's pci branch. -

Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help

2010-07-22 Thread Daniel P. Berrange
On Wed, Jul 21, 2010 at 06:39:32PM -0500, Anthony Liguori wrote: On 07/21/2010 04:58 PM, Daniel P. Berrange wrote: Yes there is. Use the version number. The version number is not suitable, because features can be removed at compile time and/or I don't see any features that libvirt

Re: [Qemu-devel] [PATCH v3 0/4] pci: split out bridge code into pci_bridge and make it library

2010-07-22 Thread Isaku Yamahata
On Thu, Jul 22, 2010 at 11:28:27AM +0300, Michael S. Tsirkin wrote: On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote: Ping? You said you will rebase and repost? This is it. Probably there was a race between them On Tue, Jul 13, 2010 at 01:01:38PM +0900, Isaku Yamahata

Re: [Qemu-devel] [PATCH v3 0/4] pci: split out bridge code into pci_bridge and make it library

2010-07-22 Thread Michael S. Tsirkin
On Thu, Jul 22, 2010 at 05:51:21PM +0900, Isaku Yamahata wrote: On Thu, Jul 22, 2010 at 11:28:27AM +0300, Michael S. Tsirkin wrote: On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote: Ping? You said you will rebase and repost? This is it. Probably there was a race between

[Qemu-devel] Re: Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread Jan Kiszka
Chen Yufei wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufeicyfde...@gmail.com wrote: We are pleased to announce COREMU, which is a

[Qemu-devel] [PATCH] MIPS interrupts and -icount

2010-07-22 Thread Edgar E. Iglesias
Hi, I'm seeing an error when emulating MIPS guests with -icount. In cpu_interrupt: cpu_abort(env, Raised interrupt while not in I/O function); It seems to me like the MIPS interrupt glue logic between interrupt controllers and the MIPS core is not modeled correctly. When hw interrupt pending

Re: [Qemu-devel] [PATCH] linux-user: display cpu list.

2010-07-22 Thread Aurelien Jarno
On Mon, May 24, 2010 at 12:35:20AM +0200, Laurent Vivier wrote: From: Laurent Vivier laur...@vivier.eu As it is done for qemu-system with -cpu ?, when cpu_list_id() is missing for a target, call cpu_list() instead. Signed-off-by: Laurent Vivier laur...@vivier.eu --- linux-user/main.c |

Re: [Qemu-devel] [PATCH 0/8] Fix various IO-thread breakages

2010-07-22 Thread Aurelien Jarno
On Fri, Jun 25, 2010 at 04:56:48PM +0200, Jan Kiszka wrote: This series unbreaks -smp 1 and guest debugging in CONFIG_IOTHREAD mode. I still find the SMP scheduling in cpu_exec_all suboptimal, but at least it works now. Dependencies are:

Re: [Qemu-devel] [PATCH] virtio-serial: Fix compat property name

2010-07-22 Thread Aurelien Jarno
On Wed, Jun 23, 2010 at 10:49:20PM +0530, Amit Shah wrote: Starting with qemu -M pc-0.12 -device virtio-serial results in -device virtio-serial: Property 'virtio-serial-pci.max_nr_ports' not found The property name 'max_ports' is incorrectly named 'max_nr_ports'. Fix that. Also fix

Re: [Qemu-devel] Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread Stefan Hajnoczi
On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei cyfde...@gmail.com wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufeicyfde...@gmail.com wrote: We are pleased to

Re: [Qemu-devel] [PATCH] Declare code_gen_ptr, code_gen_max_blocks 'static'

2010-07-22 Thread Aurelien Jarno
On Mon, Jul 19, 2010 at 06:23:17PM +0200, Stefan Weil wrote: Both values are only used in exec.c, so there is no need to make them globally available. Signed-off-by: Stefan Weil w...@mail.berlios.de --- exec-all.h |2 -- exec.c |4 ++-- 2 files changed, 2 insertions(+), 4

Re: [Qemu-devel] [PATCH] e1000: Fix wrong microwire EEPROM state initialization

2010-07-22 Thread Aurelien Jarno
On Sat, Jul 10, 2010 at 11:03:45PM +0900, Izumi Tsutsui wrote: This change fixes initialization of e1000's microwire EEPROM internal state values so that qemu's e1000 emulation works on NetBSD, which doesn't use Intel's em driver but has its own wm driver for the Intel i8254x Gigabit Ethernet.

[Qemu-devel] Re: Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread Jan Kiszka
Stefan Hajnoczi wrote: On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei cyfde...@gmail.com wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufeicyfde...@gmail.com

Re: [Qemu-devel] [STABLE] Call for patches

2010-07-22 Thread Aurelien Jarno
On Tue, Jul 13, 2010 at 07:37:01PM +0200, Aurelien Jarno wrote: Hi all, A few people requested a new stable release. The current stable branch already contains quite a few patches, that have been cherry-picked at the same time they have been committed to HEAD, but some important patches are

[Qemu-devel] Re: Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread Stefan Hajnoczi
2010/7/22 Jan Kiszka jan.kis...@siemens.com: Stefan Hajnoczi wrote: On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei cyfde...@gmail.com wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat, Jul 17, 2010 at

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Luiz Capitulino
On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote: On Sun, 18 Jul 2010 15:43:55 +0300 Michael Goldish mgold...@redhat.com wrote: Signed-off-by: Michael Goldish mgold...@redhat.com Do you

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Luiz Capitulino
On Wed, 21 Jul 2010 23:30:56 +0300 Michael Goldish mgold...@redhat.com wrote: On 07/21/2010 09:44 PM, Luiz Capitulino wrote: On Sun, 18 Jul 2010 15:43:55 +0300 Michael Goldish mgold...@redhat.com wrote: Signed-off-by: Michael Goldish mgold...@redhat.com Do you need this for 0.13? I

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote: On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote: Another related issue is that, this probably should an async handler. But

Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help

2010-07-22 Thread Luiz Capitulino
On Wed, 21 Jul 2010 15:55:28 -0500 Anthony Liguori anth...@codemonkey.ws wrote: On 07/21/2010 03:32 PM, Bruce Rogers wrote: Libvirt parses qemu help output to determine qemu features. In particular it probes for the following: cache=writethrough|writeback|none. The addition of the

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Luiz Capitulino
On Thu, 22 Jul 2010 14:45:35 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote: On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino

Re: [Qemu-devel] New Bitmap module ?

2010-07-22 Thread Andre Przywara
Corentin Chary wrote: Hi, I was working on merging VNC updates into bigger ones to see if it lower the overhead (big updates sometime use less network/cpu than a lot of small updates). For that, I needed some new bitmap functions, and no we got, in vnc.c: - set_bit - clear_bit - set_bits -

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 10:50:00AM -0300, Luiz Capitulino wrote: On Thu, 22 Jul 2010 14:45:35 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote: On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com

[Qemu-devel] Using Linux's CPUSET for KVM VCPUs

2010-07-22 Thread Andre Przywara
Hi all, while working on NUMA host pinning, I experimented with vCPU affinity within QEMU, but left it alone as it would complicate the code and would not achieve better experience than using taskset with the monitor provided thread ids like it is done currently. During that I looked at

Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help

2010-07-22 Thread Anthony Liguori
On 07/22/2010 03:42 AM, Daniel P. Berrange wrote: On Wed, Jul 21, 2010 at 06:39:32PM -0500, Anthony Liguori wrote: On 07/21/2010 04:58 PM, Daniel P. Berrange wrote: Yes there is. Use the version number. The version number is not suitable, because features can be removed

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Luiz Capitulino
On Thu, 22 Jul 2010 15:03:27 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jul 22, 2010 at 10:50:00AM -0300, Luiz Capitulino wrote: On Thu, 22 Jul 2010 14:45:35 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino

Re: [Qemu-devel] Using Linux's CPUSET for KVM VCPUs

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 04:03:13PM +0200, Andre Przywara wrote: Hi all, while working on NUMA host pinning, I experimented with vCPU affinity within QEMU, but left it alone as it would complicate the code and would not achieve better experience than using taskset with the monitor

[Qemu-devel] [PATCH 2/2] QMP: Add a warning to the greeting message

2010-07-22 Thread Luiz Capitulino
This commit add the following new key to QMP's greeting message: warning: QMP is unstable, it will change soon! The goal is to go beyond document warnings with regard to QMP's current state. Signed-off-by: Luiz Capitulino lcapitul...@redhat.com --- QMP/README |2 +- monitor.c |3 ++-

[Qemu-devel] [PATCH 1/2] QMP: Update README file

2010-07-22 Thread Luiz Capitulino
A number of changes I prefer to do in one shot: - Add a note about instability - Add multiple monitors example - Add 'Development Process' section - Small clarifications Signed-off-by: Luiz Capitulino lcapitul...@redhat.com --- QMP/README | 67

[Qemu-devel] [PATCH v2 0/2]: QMP: instability warnings

2010-07-22 Thread Luiz Capitulino
This is good for 0.13, please check individual patches for details. Thanks.

Re: [Qemu-devel] virtio-9p is not working

2010-07-22 Thread Aneesh Kumar K. V
On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee mswpl...@gmail.com wrote: Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0

Re: [Qemu-devel] Re: Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread wang Tiger
在 2010年7月22日 下午9:00,Jan Kiszka jan.kis...@siemens.com 写道: Stefan Hajnoczi wrote: On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei cyfde...@gmail.com wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat,

Re: [Qemu-devel] Re: Release of COREMU, a scalable and portable full-system emulator

2010-07-22 Thread Stefan Hajnoczi
2010/7/22 wang Tiger tigerwang1...@gmail.com: 在 2010年7月22日 下午9:00,Jan Kiszka jan.kis...@siemens.com 写道: Stefan Hajnoczi wrote: On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei cyfde...@gmail.com wrote: On 2010-7-22, at 上午1:04, Stefan Weil wrote: Am 21.07.2010 09:03, schrieb Chen Yufei: On

[Qemu-devel] [PATCH-V3 10/24] [virtio-9p] Implement TLINK for 9P2000.L

2010-07-22 Thread Venkateswararao Jujjuri (JV)
Create a Hardlink. SYNOPSIS size[4] Tlink tag[2] dfid[4] oldfid[4] newpath[s] size[4] Rlink tag[2] DESCRIPTION Create a link 'newpath' in directory pointed by dfid linking to oldfid path. Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p-debug.c |9

[Qemu-devel] [PATCH-V3 09/24] virtio-9p: Implement server side of setattr for 9P2000.L protocol.

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Sripathi Kodi sripat...@in.ibm.com SYNOPSIS size[4] Tsetattr tag[2] attr[n] size[4] Rsetattr tag[2] DESCRIPTION The setattr command changes some of the file status information. attr resembles the iattr structure used in Linux kernel. It specifies which

[Qemu-devel] [PATCH-V3 02/24] qemu: virtio-9p: Implement statfs support in server

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Implement statfs support in qemu server based on Sripathi's initial statfs patch. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: Sripathi Kodi sripat...@in.ibm.com Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH-V3 01/24] qemu: virtio-9p: Recognize 9P2000.L protocol

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Make 9P server recognize 9P2000.L protocol version Signed-off-by: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p.c |6 +- hw/virtio-9p.h |6 ++ 2 files changed, 11

[Qemu-devel] [PATCH-V3 11/24] [virtio-9p] Define and implement TSYMLINK for 9P2000.L

2010-07-22 Thread Venkateswararao Jujjuri (JV)
This patch implements creating a symlink for TSYMLINK request and responds with RSYMLINK. In the case of error, we return RERROR. SYNOPSIS size[4] Tsymlink tag[2] fid[4] name[s] symtgt[s] gid[4] size[4] Rsymlink tag[2] qid[13] DESCRIPTION Create a symbolic link named 'name'

[Qemu-devel] [PATCH-V3 17/24] virtio-9p: Add fidtype so that we can do type specific operation

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We want to add type specific operation during read/write Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- hw/virtio-9p.c | 110 --- hw/virtio-9p.h | 24 +++-

[Qemu-devel] [PATCH-V3 14/24] qemu: virtio-9p: Implement TMKDIR

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Synopsis size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4] size[4] Rmkdir tag[2] qid[13] Description mkdir asks the file server to create a directory with given name, mode and gid. The qid for the new directory is returned with the

[Qemu-devel] [PATCH-V3 24/24] virtio-9p: Fix formatting issues in v9fs_wstat_post_chown()

2010-07-22 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 2a8deb9..4e7f2cb 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -2817,15 +2817,15 @@

[Qemu-devel] [PATCH-V3 05/24] virtio-9p: Compute iounit based on host filesystem block size

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Compute iounit based on the host filesystem block size and pass it to client with open/create response. Also return iounit as statfs's f_bsize for optimal block size transfers. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com Reviewd-by: Sripathi Kodi

[Qemu-devel] [PATCH-V3 12/24] [virtio-9p] This patch implements TLCREATE for 9p2000.L protocol.

2010-07-22 Thread Venkateswararao Jujjuri (JV)
SYNOPSIS size[4] Tlcreate tag[2] fid[4] name[s] flags[4] mode[4] gid[4] size[4] Rlcreate tag[2] qid[13] iounit[4] DESCRIPTION The Tlreate request asks the file server to create a new regular file with the name supplied, in the directory (dir) represented by fid. The mode argument

[Qemu-devel] [PATCH-V3 21/24] virtio-9p: Add SM_NONE security model

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This is equivalent to SM_PASSTHROUGH security model. The only exception is, failure of privilige operation like chown are ignored. This makes a passthrough like security model usable for people who runs kvm as non root Signed-off-by: Aneesh

[Qemu-devel] [PATCH-V3 08/24] [virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Sripathi Kodi sripat...@in.ibm.com Currently v9fs_do_utimensat takes a V9fsStat argument and builds timespec structures. It sets tv_nsec values to 0 by default. Instead of this it should take struct timespec[2] and pass it down to the system directly. This will make it more generic and

[Qemu-devel] [PATCH-V3 13/24] qemu: virtio-9p: Implement TMKNOD

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Implement TMKNOD as part of 2000.L Work Synopsis size[4] Tmknod tag[2] fid[4] name[s] mode[4] major[4] minor[4] gid[4] size[4] Rmknod tag[2] qid[13] Description mknod asks the file server to create a device node with given device type,

[Qemu-devel] [PATCH-V3 18/24] virtio-9p: Implement TXATTRWALK

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com TXATTRWALK: Descend a ATTR namespace size[4] TXATTRWALK tag[2] fid[4] newfid[4] name[s] size[4] RXATTRWALK tag[2] size[8] txattrwalk gets a fid pointing to xattr. This fid can later be used to get read the xattr value. If name is NULL the

[Qemu-devel] [PATCH-V3 22/24] virtio-9p: Use lchown which won't follow symlink

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We should always use functions which don't follow symlink on the server Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p-local.c |2 +- 1

[Qemu-devel] [PATCH-V3 15/24] rename - change name of file or directory

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com size[4] Trename tag[2] fid[4] newdirfid[4] name[s] size[4] Rrename tag[2] Implement the 2000.L rename operation. A new function v9fs_complete_rename is introduced that acts as a common entry point for 2000.L rename operation and 2000.U rename opearation (via

[Qemu-devel] [PATCH-V3 19/24] virtio-9p: Implement TXATTRCREATE

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com TXATTRCREATE: Prepare a fid for setting xattr value on a file system object. size[4] TXATTRCREATE tag[2] fid[4] name[s] attr_size[8] flags[4] size[4] RXATTRWALK tag[2] txattrcreate gets a fid pointing to xattr. This fid can later be used

[Qemu-devel] [PATCH-V3 16/24] qemu: virtio-9p: Implement LOPEN

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Implement 9p2000.L version of open(LOPEN) interface in qemu 9p server. For LOPEN, no need to convert the flags to and from 9p mode to VFS mode. Synopsis: size[4] Tlopen tag[2] fid[4] mode[4] size[4] Rlopen tag[2] qid[13] iounit[4] Current qemu 9p

[Qemu-devel] [PATCH-V3 00/24] Consolidated VirtFS work

2010-07-22 Thread Venkateswararao Jujjuri (JV)
This patch series is a consolidated view of various VirtFS patches on the Mailing List. None of these patches are new in this series. For sometime all these patches were on the mainling list individually. Changes from V2: - Couple of formatting issues - Fixed fid_type checks in BUG_ON()

[Qemu-devel] [PATCH-V3 23/24] virtio-9p: Fix the memset usage

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com The arguments are wrong. Use qemu_mallocz directly Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p.c |3 +-- 1 files changed, 1

[Qemu-devel] [PATCH-V3 20/24] virtio-9p: Hide user.virtfs xattr in case of mapped security.

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com With mapped security mode we use user.virtfs namespace is used to store the virtFs related attributes. So hide it from user. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Signed-off-by: Venkateswararao Jujjuri

[Qemu-devel] [Tracing] [PATCH 2/4] Add copyright and doc comments to simpletrace.py

2010-07-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- simpletrace.py | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/simpletrace.py b/simpletrace.py index 2271860..c951023 100755 --- a/simpletrace.py +++ b/simpletrace.py @@ -1,4 +1,14 @@

[Qemu-devel] [Tracing] [PATCH 1/4] Move simple trace prototypes to header file

2010-07-22 Thread Stefan Hajnoczi
Simple trace prototypes should not be in the tracetool code generator. It is easier to modify and debug the code if they are in a regular C header file. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- This patch is against the tracing branch:

[Qemu-devel] [Tracing] [PATCH 4/4] Disable posix_aio_process_queue by default

2010-07-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events b/trace-events index 5304826..a50215f 100644 --- a/trace-events +++ b/trace-events @@ -63,4 +63,4 @@ disable

[Qemu-devel] [Tracing] [PATCH 3/4] Add a header to the trace file format

2010-07-22 Thread Stefan Hajnoczi
The trace file format needs a header so that future extension is possible. There is a version number that can be bumped when file format changes are made. There is still the issue of endianness and sizeof(long). This patch does not address those. Signed-off-by: Stefan Hajnoczi

[Qemu-devel] [PATCH-V3 03/24] virtio-9p: Return correct error from v9fs_remove

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Sripathi Kodi sripat...@in.ibm.com Signed-off-by: Sripathi Kodi sripat...@in.ibm.com In v9fs_remove_post_remove() we currently ignore the error returned by the previous call to remove() and return an error only if freeing the fid fails. However, the client expects to see the error from

[Qemu-devel] [PATCH-V3 07/24] virtio-9p: Do not reset atime

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: M. Mohan Kumar mo...@in.ibm.com Current code resets file's atime to 0 when there is a change in mtime. This results in resetting the atime to 1970-01-01 05:30:00. For example, truncate -s 0 filename results in changing the mtime to the truncate time, but resets the atime to

[Qemu-devel] [PATCH-V3 06/24] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Sripathi Kodi sripa...@sripathi.in.ibm.com SYNOPSIS size[4] Tgetattr tag[2] fid[4] request_mask[8] size[4] Rgetattr tag[2] lstat[n] DESCRIPTION The getattr transaction inquires about the file identified by fid.

Re: [Qemu-devel] [PATCH 0/3] Fix broken if statements

2010-07-22 Thread Stefan Weil
Am 21.07.2010 22:05, schrieb Joel Schopp: I have decided to apply the broken window theory of crime http://en.wikipedia.org/wiki/Broken_windows_theory to code, and more specifically to qemu. I'm hoping that fixing seemingly trivial bugs will actually fix some more serious bugs, make the code run

[Qemu-devel] [PATCH-V3 04/24] [V4] virtio-9p: readdir implementation for 9p2000.L

2010-07-22 Thread Venkateswararao Jujjuri (JV)
From: Sripathi Kodi sripat...@in.ibm.com This patch implements the server part of readdir() implementation for 9p2000.L SYNOPSIS size[4] Treaddir tag[2] fid[4] offset[8] count[4] size[4] Rreaddir tag[2] count[4] data[count] DESCRIPTION The readdir request asks the server

Re: [Qemu-devel] Docs for and debugging of Asynchronous I/O

2010-07-22 Thread Ot ten Thije
On Tue, Jul 20, 2010 at 9:57 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Jul 20, 2010 at 7:34 PM, Ot ten Thije ottenth...@google.com wrote: Hello, I am working on fixing the savevm/loadvm functionality in the Android emulator, and the two issues I've encountered so far both

Re: [Qemu-devel] Docs for and debugging of Asynchronous I/O

2010-07-22 Thread Ot ten Thije
On Tue, Jul 20, 2010 at 10:47 PM, Anthony Liguori anth...@codemonkey.ws wrote: On 07/20/2010 01:34 PM, Ot ten Thije wrote: Hello, I am working on fixing the savevm/loadvm functionality in the Android emulator, and the two issues I've encountered so far both appear to stem from the

[Qemu-devel] [PATCH 0/4] Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types

2010-07-22 Thread Stefan Weil
There is no need to have a second set of integral types. Replace them by the standard types from stdint.h. [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types [PATCH 2/4] tests: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types [PATCH

[Qemu-devel] [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types

2010-07-22 Thread Stefan Weil
There is no need to have a second set of integral types. Replace them by the standard types from stdint.h. Signed-off-by: Stefan Weil w...@mail.berlios.de --- block/raw-posix.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/raw-posix.c b/block/raw-posix.c index

[Qemu-devel] [PATCH 2/4] tests: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types

2010-07-22 Thread Stefan Weil
There is no need to have a second set of integral types. Replace them by the standard types from stdint.h. Signed-off-by: Stefan Weil w...@mail.berlios.de --- tests/sha1.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/sha1.c

[Qemu-devel] [PATCH 4/4] slirp: Remove declarations which are no longer needed

2010-07-22 Thread Stefan Weil
The previous patches replaced u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types from stdint.h, so we can now remove their declarations which are no longer needed. Signed-off-by: Stefan Weil w...@mail.berlios.de --- slirp/slirp.h | 33 - 1 files

[Qemu-devel] [PATCH 3/4] slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types

2010-07-22 Thread Stefan Weil
There is no need to have a second set of integral types. Replace them by the standard types from stdint.h. Signed-off-by: Stefan Weil w...@mail.berlios.de --- slirp/cksum.c| 20 ++-- slirp/ip.h | 40 slirp/ip_icmp.h

Re: [Qemu-devel] regs_to_env() ?

2010-07-22 Thread Blue Swirl
On Thu, Jul 22, 2010 at 2:06 AM, Jun Koi junkoi2...@gmail.com wrote: Hi, Function regs_to_env() in target-i386/exec.h has a code like below: ... #ifdef reg_EAX env-regs[R_EAX] = EAX #endif ... However, elsewhere we have EAX defined as: #define EAX (env-regs[R_EAX]) This means

[Qemu-devel] [PATCH 34/34] Compile PCI devices once

2010-07-22 Thread Blue Swirl
Compile e1000, rtl8139 and usb-ohci in hwlib. Signed-off-by: Blue Swirl blauwir...@gmail.com --- Makefile.objs |5 + Makefile.target |7 --- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 67f1b21..8e2aebd 100644 ---

[Qemu-devel] [PATCH 23/34] virtio-pci: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Remove unused msix_mmio_map(). Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/msix.c | 21 + hw/msix.h |3 --- hw/virtio-pci.c | 47 +++

[Qemu-devel] [PATCH 32/34] vga: make byte swapping selectable

2010-07-22 Thread Blue Swirl
Make byte swapping in VGA selectable. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/mips_jazz.c |6 +- hw/pc.h |2 +- hw/vga-isa-mm.c |9 ++--- hw/vga-isa.c|3 ++- hw/vga-pci.c|2 +- hw/vga.c| 38

[Qemu-devel] [PATCH 26/34] pci: add registration for MMIO manipulation functions

2010-07-22 Thread Blue Swirl
Add registration functions to manipulate MMIO mappings. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/pci.c | 49 + hw/pci.h |7 +++ 2 files changed, 44 insertions(+), 12 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [PATCH 20/34] eepro100: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/eepro100.c | 72 +++- 1 files changed, 35 insertions(+), 37 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c

[Qemu-devel] [PATCH 33/34] Replace explicit PCI device byte swaps with byte swapping IO type at host bridge

2010-07-22 Thread Blue Swirl
For devices, delete explicit PCI byte swaps. At big endian host bridges, change MMIO registration to insert a byte swapping IO type. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/apb_pci.c |1 + hw/e1000.c |6 -- hw/grackle_pci.c | 14 ++

[Qemu-devel] [PATCH 22/34] vga-pci: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/vga-pci.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/vga-pci.c b/hw/vga-pci.c index 216071f..c627a79 100644 ---

[Qemu-devel] [PATCH 28/34] Implement byte swapped MMIO type

2010-07-22 Thread Blue Swirl
Add a flag to indicate a byte swapped MMIO type. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-common.h |4 +++- exec.c | 42 ++ softmmu_template.h | 16 +++- 3 files changed, 60 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH 31/34] vga: refactor vga_init

2010-07-22 Thread Blue Swirl
Move common stuff not related to I/O port init from vga_init() to vga_common_init(). Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/vga-isa-mm.c |1 - hw/vga.c|5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/vga-isa-mm.c b/hw/vga-isa-mm.c index

[Qemu-devel] [PATCH 15/34] wdt_i6300esb: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/wdt_i6300esb.c | 38 ++ 1 files changed, 14 insertions(+), 24 deletions(-) diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c index 46e1df8..24409ec

[Qemu-devel] [PATCH 18/34] cirrus_vga: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/cirrus_vga.c | 26 -- 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 7c14361..a9ccb69 100644

[Qemu-devel] [PATCH 27/34] pci: replace pci_bus_set_mem_base() with bus specific manipulation

2010-07-22 Thread Blue Swirl
Move PCI memory base adjustment to APB specific MMIO manipulator. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/apb_pci.c | 25 - hw/pci.c | 26 +- hw/pci.h |2 -- 3 files changed, 29 insertions(+), 24 deletions(-) diff

[Qemu-devel] [PATCH 24/34] vmware_vga: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/vmware_vga.c | 93 +- 1 files changed, 57 insertions(+), 36 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c

[Qemu-devel] [PATCH 17/34] ac97: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/ac97.c | 59 ++- 1 files changed, 38 insertions(+), 21 deletions(-) diff --git a/hw/ac97.c b/hw/ac97.c index

[Qemu-devel] [PATCH 14/34] usb-uhci: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/usb-uhci.c | 31 +++ 1 files changed, 15 insertions(+), 16 deletions(-) diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 1d83400..2e1f5ee 100644 ---

[Qemu-devel] [PATCH 25/34] pci: remove now unused map_func parameter

2010-07-22 Thread Blue Swirl
The parameter map_func of pci_register_bar() is now completely unused since all callers pass NULL. Remove the unused parameter and all map_func handling. Adjust callers. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/ac97.c |4 ++-- hw/cirrus_vga.c |4 ++-- hw/e1000.c

[Qemu-devel] [PATCH 09/34] cmd646: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/ide/cmd646.c | 149 ++- 1 files changed, 92 insertions(+), 57 deletions(-) diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index

[Qemu-devel] [PATCH 21/34] lsi53c895a: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/lsi53c895a.c | 47 --- 1 files changed, 20 insertions(+), 27 deletions(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index

[Qemu-devel] [PATCH 12/34] rtl8139: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/rtl8139.c | 42 -- 1 files changed, 16 insertions(+), 26 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index d92981d..bc20549 100644 ---

[Qemu-devel] [PATCH 02/34] pci: handle BAR mapping at PCI level

2010-07-22 Thread Blue Swirl
Move IOIO and MMIO BAR mapping to pci.c. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/pci.c | 167 - hw/pci.h | 14 +- 2 files changed, 122 insertions(+), 59 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [PATCH 16/34] pci: add post_map_func, adjust callers

2010-07-22 Thread Blue Swirl
Add a callback for PCI BAR mapping. Replaces map_func. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/ac97.c |5 +++-- hw/cirrus_vga.c |5 +++-- hw/e1000.c|4 ++-- hw/eepro100.c |8 hw/es1370.c |2 +- hw/ide/cmd646.c | 10

[Qemu-devel] [PATCH 08/34] piix: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/ide/piix.c | 72 +++- 1 files changed, 45 insertions(+), 27 deletions(-) diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 07483e8..959e061

[Qemu-devel] [PATCH 19/34] e1000: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() and post_map_func instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/e1000.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index 6d1c3d4..d64fb79 100644 --- a/hw/e1000.c +++

[Qemu-devel] [PATCH 11/34] pcnet: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/pcnet.c | 62 +-- 1 files changed, 30 insertions(+), 32 deletions(-) diff --git a/hw/pcnet.c b/hw/pcnet.c index b52935a..49ff321

[Qemu-devel] [News] Important News about Jesus and Living Apostle

2010-07-22 Thread ApostleNews
Very important news about J= esus, Blessed Virgin Mary and living Apostle in the world today. Now on You Tube Channelnbs= p; http://www.youtube.com/apostolicsee nbsp; Thanking You, nbsp; Sub= scription Options This email was sent = to qemu-devel@nongnu.orgnbsp;n= bsp;I want to

[Qemu-devel] [PATCH 10/34] openpic: convert to pci_bar_map

2010-07-22 Thread Blue Swirl
Use pci_bar_map() instead of a mapping function. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/openpic.c | 36 +--- 1 files changed, 5 insertions(+), 31 deletions(-) diff --git a/hw/openpic.c b/hw/openpic.c index 01bf15f..3f97afd 100644 ---

[Qemu-devel] [PATCH 01/34] ioport: separate registration from mapping

2010-07-22 Thread Blue Swirl
Add I/O port registration functions which separate registration from the mapping stage. Signed-off-by: Blue Swirl blauwir...@gmail.com --- ioport.c | 117 +++-- ioport.h |6 +++ 2 files changed, 111 insertions(+), 12 deletions(-) diff

  1   2   >