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

2010-07-21 Thread Chen Yufei
On 2010-7-21, at 上午5:43, Blue Swirl wrote: On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufei cyfde...@gmail.com wrote: We are pleased to announce COREMU, which is a multicore-on-multicore full-system emulator built on Qemu. (Simply speaking, we made Qemu parallel.) The project web page is

[Qemu-devel] Re: Virtualization at Plumbers 2010 - Time to submit your proposals!

2010-07-21 Thread Jes Sorensen
Hi, There has been some confusion around the format of the tracks at Linux Plumbers: Presentations vs Micro Conference, so the program committee has extended the deadline by one week. If you didn't get your submission in earlier, or you were confused, this is your final chance. Please see

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-21 Thread Alexander Graf
On 21.07.2010, at 00:22, Blue Swirl wrote: On Sat, Jul 17, 2010 at 9:50 AM, Richard W.M. Jones rjo...@redhat.com wrote: I'm trying to speed up the process of loading kernel and initrd. I found that the main loop which loads these into qemu memory does it via executing in the guest: rep

[Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com O_DIRECT (cache=none) requires sector alignment, however the physical sector size of CDROM/DVD drives is 2048, as opposed to most disk devices which use 512. QEMU is hard coding 512 all over the place, so allowing O_DIRECT for CDROM/DVD devices does not

Re: [Qemu-devel] [PATCH] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Jes Sorensen
On 07/20/10 19:19, Markus Armbruster wrote: Jes Sorensen jes.soren...@redhat.com writes: On 07/20/10 18:35, David S. Ahern wrote: On 07/20/10 10:09, jes.soren...@redhat.com wrote: If a cdrom is added via the monitor this would abruptly terminate the VM - which is not good. True, but this

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

2010-07-21 Thread Dallas Lee
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 video=uvesafb:ywrap,overlay:rgb16,480x800...@60 root=/dev/nfs rw nfsroot=10.0.2.2:/root,udp ip=10.0.2.16:eth0:none

[Qemu-devel] [Bug 608107] Re: ppc fails to clear MSR_POW when incurring exception

2010-07-21 Thread till
** Patch added: Suggested fix http://launchpadlibrarian.net/52250654/ppc-msr_pow-clear.diff -- ppc fails to clear MSR_POW when incurring exception https://bugs.launchpad.net/bugs/608107 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

[Qemu-devel] [Bug 608107] [NEW] ppc fails to clear MSR_POW when incurring exception

2010-07-21 Thread till
Public bug reported: QEMU VERSION: 0.12.4 According to FreeScale's 'Programming Environments Manual for 32-bit Implementations of the PowerPC Architecture' [MPCFPE32B, Rev.3, 9/2005], section 6.5, table 6-7, an interrupt resets MSR_POW to zero but qemu-0.12.4 fails to do so. Resetting the bit

Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Markus Armbruster
jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com O_DIRECT (cache=none) requires sector alignment, however the physical sector size of CDROM/DVD drives is 2048, as opposed to most disk devices which use 512. QEMU is hard coding 512 all over the place, so allowing

[Qemu-devel] [PATCH] virtio-serial: Check if more max_ports specified than we can handle

2010-07-21 Thread Amit Shah
Currently virtio-serial supports a maximum of 31 ports. Specifying the 'max_ports' parameter to be 31 on the cmd line causes badness. Ensure we initialise virtio-serial only if max_ports is within the supported range. Signed-off-by: Amit Shah amit.s...@redhat.com --- hw/virtio-serial-bus.c |

[Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread Janne Huttunen
Hi! I'm trying to run a Linux guest on top of QEMU (kvm). The only VGA emulation that seems to give any kind of usable performance is the vmware SVGA adapter, but that in turn is very unstable. It usually freezes the guest display within a minute or two and starts printing an error like

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread andrzej zaborowski
Hi, On 21 July 2010 13:17, Janne Huttunen jahut...@gmail.com wrote: Now, correct me if I'm wrong, but isn't vmsvga_fifo_run() called from an asynchronous context (wrt the guest)? If that indeed is so, it may very well be, that it is run while the guest is modifying the FIFO. This means, that

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread Janne Huttunen
No, I think that can't happen, but it would be interesting to bisect what the guest is doing exactly when this happens. The guest should not move the next command pointer before if has written the command entirely, this should be enough to guard against executing a partial command. Unless

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread andrzej zaborowski
On 21 July 2010 14:14, Janne Huttunen jahut...@gmail.com wrote: No, I think that can't happen, but it would be interesting to bisect what the guest is doing exactly when this happens.  The guest should not move the next command pointer before if has written the command entirely, this should be

[Qemu-devel] Adding new hardware emulation

2010-07-21 Thread Francisco Rivas
Hello, I am looking for documentation on adding new hardware support, I would like to emulate an SH7724 processors, is there any kind of documentation on adding support in qemu for new hardware?.. thank in advanced and best regards!.

Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Christoph Hellwig
On Wed, Jul 21, 2010 at 09:45:19AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com O_DIRECT (cache=none) requires sector alignment, however the physical sector size of CDROM/DVD drives is 2048, as opposed to most disk devices which use 512. QEMU is hard

[Qemu-devel] Move the xenfb pointer handler to the connected method

2010-07-21 Thread Stefano Stabellini
From: John Haxby john.ha...@oracle.com Move the xenfb pointer handler to the connected method Ensure that we read request-abs-pointer after the frontend has written it. This means that we will correctly set up an ansolute or relative pointer handler correctly. Signed-off-by: John Haxby

[Qemu-devel] Introduce a new 'connected' xendev op called when Connected.

2010-07-21 Thread Stefano Stabellini
From: John Haxby john.ha...@oracle.com Introduce a new 'connected' xendev op called when Connected. Rename the existing xendev 'connect' op to 'initialised' and introduce a new 'connected' op. This new op, if defined, is called when the backend is connected. Note that since there is no state

Re: [Qemu-devel] [PATCH] virtio-blk: Create exit function to unregister savevm

2010-07-21 Thread Kevin Wolf
Am 20.07.2010 19:14, schrieb Alex Williamson: Otherwise we can't migrate after we've removed a virtio block device. Signed-off-by: Alex Williamson alex.william...@redhat.com Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Markus Armbruster
Christoph Hellwig h...@lst.de writes: On Wed, Jul 21, 2010 at 09:45:19AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com O_DIRECT (cache=none) requires sector alignment, however the physical sector size of CDROM/DVD drives is 2048, as opposed to most disk

Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives

2010-07-21 Thread Christoph Hellwig
On Wed, Jul 21, 2010 at 04:13:10PM +0200, Markus Armbruster wrote: Agreed, but I figure Jes's fix is the best we can do for .13, and worth doing for .13. As said in the previous mail it's incorrect in many ways. If at all you could reject devices and files on filesysystems on device with

[Qemu-devel] [PATCH] savevm: Fix memory leak of compat struct

2010-07-21 Thread Alex Williamson
Forgot to check for and free these. Found-by: Zachary Amsden zams...@redhat.com Signed-off-by: Alex Williamson alex.william...@redhat.com --- 0.13 Candidate savevm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/savevm.c b/savevm.c index ee27989..1612794 100644

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread Janne Huttunen
I see no way to tell whether the guest is currently in the middle of writing a command. So it seems the only way to check is to peek the first word in the fifo (which *is* written entirely before a NEXT_CMD update) and look up the expected command length, and then check whether enough data is

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-07-21 Thread Janne Huttunen
Here's an experiment for sanity checking the lengths and leaving the command in the FIFO if it is not complete. It fixes the problem for me (running it right now), but I agree that it's not very elegant to look at :-/ . And here's another version with couple of stupid bugs removed (it

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

2010-07-21 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-V2 01/24] qemu: virtio-9p: Recognize 9P2000.L protocol

2010-07-21 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-V2 17/24] virtio-9p: Add fidtype so that we can do type specific operation

2010-07-21 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-V2 00/24] Consolidated VirtFS work

2010-07-21 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. Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com

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

2010-07-21 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-V2 23/24] virtio-9p: Fix the memset usage

2010-07-21 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-V2 18/24] virtio-9p: Implement TXATTRWALK

2010-07-21 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-V2 19/24] virtio-9p: Implement TXATTRCREATE

2010-07-21 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-V2 07/24] virtio-9p: Do not reset atime

2010-07-21 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-V2 21/24] virtio-9p: Add SM_NONE security model

2010-07-21 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-V2 03/24] virtio-9p: Return correct error from v9fs_remove

2010-07-21 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-V2 09/24] virtio-9p: Implement server side of setattr for 9P2000.L protocol.

2010-07-21 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-V2 11/24] [virtio-9p] Define and implement TSYMLINK for 9P2000.L

2010-07-21 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-V2 12/24] [virtio-9p] This patch implements TLCREATE for 9p2000.L protocol.

2010-07-21 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-V2 14/24] qemu: virtio-9p: Implement TMKDIR

2010-07-21 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-V2 06/24] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-07-21 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.

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

2010-07-21 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 1621dab..e278cc1 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -2822,15 +2822,15 @@

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

2010-07-21 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-V2 13/24] qemu: virtio-9p: Implement TMKNOD

2010-07-21 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-V2 08/24] [virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.

2010-07-21 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-V2 20/24] virtio-9p: Hide user.virtfs xattr in case of mapped security.

2010-07-21 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] [PATCH-V2 04/24] [V4] virtio-9p: readdir implementation for 9p2000.L

2010-07-21 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

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

2010-07-21 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-V2 15/24] rename - change name of file or directory

2010-07-21 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-V2 22/24] virtio-9p: Use lchown which won't follow symlink

2010-07-21 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] FW: Qemu crashes

2010-07-21 Thread capricorn 80
Can any one help me in that please. Hi! I am trying to run asa 802, asdm 602 with gns3. After long struggle i managed to fixed every thing. But now when i run asdm the Qemu crashes. The reference is on this post - http://www.gns3.net/phpBB/topic2349.html Thanks for any kind of

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

2010-07-21 Thread Stefan Weil
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 multicore-on-multicore full-system emulator built on Qemu. (Simply speaking, we

Re: [Qemu-devel] FW: Qemu crashes

2010-07-21 Thread Natalia Portillo
Hi, It seems to be a modified version of QEMU. If it is the case you must contact the modifier or test with an unmodified version. If it is not, you must provide more detailed information, like, exact qemu version, command line, and extended fail information as given by Windows. If possible,

[Qemu-devel] Re: [PATCH v3 2/2] monitor: Convert 'info qdm' to QMP

2010-07-21 Thread Luiz Capitulino
On Mon, 19 Jul 2010 13:51:27 -0300 Miguel Di Ciurcio Filho miguel.fi...@gmail.com wrote: Converts the 'info qdm' command to QMP, allowing the discovery of all devices known to the QEMU binary without relying on command line paramaters like -device ? and -device devtype,? This change does

[Qemu-devel] Re: [PATCH v3 2/2] monitor: Convert 'info qdm' to QMP

2010-07-21 Thread Daniel P. Berrange
On Wed, Jul 21, 2010 at 02:42:28PM -0300, Luiz Capitulino wrote: On Mon, 19 Jul 2010 13:51:27 -0300 Miguel Di Ciurcio Filho miguel.fi...@gmail.com wrote: Converts the 'info qdm' command to QMP, allowing the discovery of all devices known to the QEMU binary without relying on command

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

2010-07-21 Thread Cam Macdonell
On Wed, Jul 21, 2010 at 2:27 AM, 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

[Qemu-devel] Re: [PATCH v3 2/2] monitor: Convert 'info qdm' to QMP

2010-07-21 Thread Luiz Capitulino
On Wed, 21 Jul 2010 18:51:19 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Wed, Jul 21, 2010 at 02:42:28PM -0300, Luiz Capitulino wrote: On Mon, 19 Jul 2010 13:51:27 -0300 Miguel Di Ciurcio Filho miguel.fi...@gmail.com wrote: Converts the 'info qdm' command to QMP, allowing

[Qemu-devel] Re: [PATCH v3 2/2] monitor: Convert 'info qdm' to QMP

2010-07-21 Thread Anthony Liguori
On 07/21/2010 12:51 PM, Daniel P. Berrange wrote: On Wed, Jul 21, 2010 at 02:42:28PM -0300, Luiz Capitulino wrote: On Mon, 19 Jul 2010 13:51:27 -0300 Miguel Di Ciurcio Filhomiguel.fi...@gmail.com wrote: Converts the 'info qdm' command to QMP, allowing the discovery of all devices

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

2010-07-21 Thread Luiz Capitulino
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 think the development window is already closed. --- monitor.c | 15 --- qemu-monitor.hx | 22

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

2010-07-21 Thread Daniel P. Berrange
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 need this for 0.13? I think the development window is already closed. ---

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

2010-07-21 Thread Venkateswararao Jujjuri (JV)
Cam Macdonell wrote: On Wed, Jul 21, 2010 at 2:27 AM, 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

[Qemu-devel] [PATCH] block: Use error codes from lower levels for error message

2010-07-21 Thread Stefan Weil
No such file or directory is a misleading error message when a user tries to open a file with wrong permissions. v2: return an 0/-errno int and pass the BlockDriver* by reference as suggested by Kevin Wolf Cc: Kevin Wolf kw...@redhat.com Signed-off-by: Stefan Weil w...@mail.berlios.de ---

[Qemu-devel] [PATCH 1/3] remove dead code from hw/loader.c

2010-07-21 Thread Joel Schopp
Removing dead code. Above we already continued when rom-addr + valuegreaterthan0 addr so this condition is always false. Signed-off-by: Joel Schopp jsch...@austin.ibm.com --- hw/loader.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/hw/loader.c b/hw/loader.c

[Qemu-devel] [PATCH 2/3] fix variable type in qemu-io.c

2010-07-21 Thread Joel Schopp
The variable len can get a negative return value from cvtnum, which we check for, but which is impossible with the current unsigned variable type. Currently the if(len 0) check is pointless. This patch fixes that. Signed-off-by: Joel Schopp jsch...@austin.ibm.com --- qemu-io.c |4 ++-- 1

[Qemu-devel] [PATCH 3/3] remove pointless if from vl.c

2010-07-21 Thread Joel Schopp
We already set sockets to nonzero in the code above. So this if statement always evaluates true. Remove it. Signed-off-by: Joel Schopp jsch...@austin.ibm.com --- vl.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/vl.c b/vl.c index 8a5de9f..a0c28b6 100644 --- a/vl.c

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

2010-07-21 Thread 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 just a bit smoother, or at the very least

[Qemu-devel] Qemu latest version for window

2010-07-21 Thread capricorn 80
Hi! Can i get latest version of qemu for windows ? Regards,

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

2010-07-21 Thread Michael Goldish
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 think the development window is already closed. No, it's not urgent. ---

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

2010-07-21 Thread Bruce Rogers
Libvirt parses qemu help output to determine qemu features. In particular it probes for the following: cache=writethrough|writeback|none. The addition of the unsafe cache mode was inserted within this string, as opposed to being added to the end, which impacted libvirt's probe. Unbreak libvirt

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

2010-07-21 Thread Anthony Liguori
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 unsafe cache mode was inserted within this string, as opposed to being added to the end,

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

2010-07-21 Thread Daniel P. Berrange
On Wed, Jul 21, 2010 at 03:55:28PM -0500, Anthony Liguori 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 unsafe cache mode was

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

2010-07-21 Thread Anthony Liguori
On 07/21/2010 04:32 PM, Daniel P. Berrange wrote: On Wed, Jul 21, 2010 at 03:55:28PM -0500, Anthony Liguori 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:

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

2010-07-21 Thread Daniel P. Berrange
On Wed, Jul 21, 2010 at 04:45:46PM -0500, Anthony Liguori wrote: On 07/21/2010 04:32 PM, Daniel P. Berrange wrote: On Wed, Jul 21, 2010 at 03:55:28PM -0500, Anthony Liguori wrote: On 07/21/2010 03:32 PM, Bruce Rogers wrote: Libvirt parses qemu help output to determine qemu

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

2010-07-21 Thread Anthony Liguori
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 about that are disabled at compile time that

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

2010-07-21 Thread Mike McCormack
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 100644 --- a/hw/vhost.c +++ b/hw/vhost.c @@ -11,7 +11,9 @@ */ #include

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

2010-07-21 Thread Jamie Lokier
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 would need to know about that are

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

2010-07-21 Thread tekditt
I agree to #10. Today I installed qemu-kvm-0.12.4-r3 and I still can't boot Windows XP/2003 without booting the install cd at first. But now: After I tried to boot the Windows installation I get the same odd char in the screen as described by #10. Plus, I can install Windows without problems, but

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

2010-07-21 Thread tekditt
P.S.: Of course I can't boot Windows XP/2003 from a VirtIO drive at all, because the install cd only checks the IDE bus for an existing Windows installation... -- Windows XP/2003 doesn't boot https://bugs.launchpad.net/bugs/586175 You received this bug notification because you are a member of

[Qemu-devel] [Bug 586420] Re: WinXP install cd hangs at boot time if machine started with floppy

2010-07-21 Thread tekditt
Today I merged the new release qemu-kvm-0.12.4-r3 and, o, wonder, I can use floppy and cd at the same time! This bug seems to be fixed finally. thx for your support! -- WinXP install cd hangs at boot time if machine started with floppy https://bugs.launchpad.net/bugs/586420 You received this

[Qemu-devel] regs_to_env() ?

2010-07-21 Thread Jun Koi
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 effectively, we have code like: env-regs[R_EAX] = env-regs[R_EAX]; What is the

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

2010-07-21 Thread Isaku Yamahata
Ping? 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. - eliminated pci_brdige_qdev_register(), pci_brdige_create(), pci_brdige_create_simple() by exporting PCIBus and

Re: [Qemu-devel] Qemu latest version for window

2010-07-21 Thread Mulyadi Santosa
On Thu, Jul 22, 2010 at 03:29, capricorn 80 cool_capricor...@hotmail.com wrote: Hi! Can i get latest version of qemu for windows ? Yes, why not? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com