Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Itamar Heim
On 11/16/2011 04:20 PM, Paolo Bonzini wrote: ... It can just be a submodule (like we do with SeaBIOS, etc.). The only request is that we split guest agent out of vdsm so we don't have to also include all of vdsm in the release tarballs. That would make the guest agent an independent git repo

Re: [Qemu-devel] Windows 7 shutdown causes BSOD

2011-11-16 Thread Gleb Natapov
On Thu, Nov 17, 2011 at 02:29:47PM +0800, hkran wrote: > On 11/16/2011 06:51 PM, Gleb Natapov wrote: > >On Wed, Nov 16, 2011 at 10:48:15AM +, Stefan Hajnoczi wrote: > >>On Wed, Nov 16, 2011 at 10:14 AM, hkran wrote: > >>>On 11/15/2011 09:17 PM, Stefan Hajnoczi wrote: > On Fri, Nov 4, 2011

Re: [Qemu-devel] [v9 Patch 3/6]Qemu: Cmd "block_set_hostcache" for dynamic cache change

2011-11-16 Thread Supriya Kannery
On 11/17/2011 12:04 AM, Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:47 AM, Supriya Kannery wrote: +{ +.name = "block_set_hostcache", +.args_type = "device:B,option:b", +.params = "device on|off", +.help = "Change setting of host pagecac

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-16 Thread Supriya Kannery
On 11/17/2011 01:36 AM, Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery wrote: +if ((hostcache = qemu_opt_get_bool(opts, "hostcache", -1)) != -1) { This does not work. qemu_opt_get_bool() takes a bool default argument and returns a bool. (bool)-1 == true. B

Re: [Qemu-devel] [PATCH] Add -f option to qemu-nbd

2011-11-16 Thread Zhi Yong Wu
On Wed, Nov 16, 2011 at 10:27 PM, Stefan Hajnoczi wrote: > On Wed, Nov 16, 2011 at 11:49 AM, Zhi Yong Wu wrote: >> On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote: >>> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote: Currently qemu-nbd does not support finding free nbd device for

[Qemu-devel] [Bug 891002] Re: windows mingw compiled qemu-system-x86_64 crash on startup

2011-11-16 Thread humeafo
maybe it's caused by mingw/gcc? the same binary runs well on win7-x64, but not on win2003-32 bit I'll do more test, if I've time, i'd debug it and try to find the reason -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.lau

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Michael Roth
On 11/16/2011 02:24 PM, Adam Litke wrote: I have been following this thread pretty closely and the one sentence summary of the current argument is: ovirt-guest-agent is already featureful and tested, so let's drop qemu-ga and have everyone adopt ovirt-guest-agent. Unfortunately, this track stray

Re: [Qemu-devel] wiki summary

2011-11-16 Thread Michael Roth
I've tried to summarize the pros/cons, points, and proposals outlined in this thread at the following wiki: http://www.ovirt.org/wiki/Guest_agent_proposals Please feel free to add/edit as needed. If you don't have an account on ovirt.org let me know. Thanks!

[Qemu-devel] [Bug 838974] Re: Confusing error report for missing vde support

2011-11-16 Thread Serge Hallyn
Thanks for reporting this bug. That certainly could be confusing. However, practically speaking, since qemu was compiled without that support, it becomes more difficult for qemu to tell the difference between a unsupported but otherwise-valid type, and an invalid type. Perhaps upstream would acc

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-16 Thread David Gibson
On Tue, Nov 15, 2011 at 11:01:28AM -0700, Alex Williamson wrote: > On Tue, 2011-11-15 at 17:34 +1100, David Gibson wrote: > > On Thu, Nov 03, 2011 at 02:12:24PM -0600, Alex Williamson wrote: > > > diff --git a/Documentation/vfio.txt b/Documentation/vfio.txt > > > new file mode 100644 > > > index 00

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Anthony Liguori
On 11/16/2011 11:53 AM, Barak Azulay wrote: On Wednesday 16 November 2011 17:28:16 Michael Roth wrote: 2) You'd also need a schema, similar to qemu.git/qapi-schema-guest.json, to describe the calls you're proxying. The existing infrastructure in QEMU will handle all the work of marshalling/unmar

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-16 Thread Alex Williamson
On Tue, 2011-11-15 at 16:29 -0600, Scott Wood wrote: > On 11/15/2011 03:40 PM, Aaron Fabbri wrote: > > > > > > > > On 11/15/11 12:10 PM, "Scott Wood" wrote: > > > >> On 11/15/2011 12:34 AM, David Gibson wrote: > > > +static int allow_unsafe_intrs; > +module_param(allow_unsafe_intrs

[Qemu-devel] [Bug 877155] Re: VT-D NIC doesn't work in windows guest

2011-11-16 Thread Alex Williamson
There's not enough info here to even begin to debug this. Intel doesn't provide drivers for 82576 VF for most of the versions of Windows being referenced. No indication of what version of the driver is being using for the NIC, no indication of what the Windows device manager reports for the devic

[Qemu-devel] [PATCH 1/4] Makefile: remove more generated files on clean

2011-11-16 Thread Michael S. Tsirkin
make clean missed the source qmp files generated by python. Fix that. Signed-off-by: Michael S. Tsirkin --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 168093c..b335f2a 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ ifeq ($(T

[Qemu-devel] [PATCH 4/4] Makefile: fix qga dependencies

2011-11-16 Thread Michael S. Tsirkin
.c files include .h files, so .o depends on .h, and the linked result depends on .o. We got it wrong for qga rules, fix it up. Signed-off-by: Michael S. Tsirkin --- Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c7f2cbd..7c9373

[Qemu-devel] [PATCH 3/4] Makefile: dependency fix

2011-11-16 Thread Michael S. Tsirkin
qga/guest-agent-commands.c includes qga-qmp-commands.h, but it was missing in its dependencies. Add it in QGALIB_GEN. Signed-off-by: Michael S. Tsirkin --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a3c4bb4..c7f2cbd 100644 --- a/M

[Qemu-devel] [PATCH 2/4] Makefile: fix dependencies for generated .h, .c

2011-11-16 Thread Michael S. Tsirkin
We have a single rule generating .c and .h files, so .h doesn't depend on .c: both depend on the source schema. Fix Makefile to reflect that - without this, if .c is there and .h is missing, Makefile does not know how to remake .h and assumes it's a dummy target, triggering endless rebuilds. Sign

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Michael Roth
On 11/16/2011 11:53 AM, Barak Azulay wrote: On Wednesday 16 November 2011 17:28:16 Michael Roth wrote: On 11/16/2011 06:13 AM, Barak Azulay wrote: On Wednesday 16 November 2011 10:16:57 Alexander Graf wrote: On 16.11.2011, at 08:05, Barak Azulay wrote: On Wednesday 16 November 2011 02:42:30

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Adam Litke
I have been following this thread pretty closely and the one sentence summary of the current argument is: ovirt-guest-agent is already featureful and tested, so let's drop qemu-ga and have everyone adopt ovirt-guest-agent. Unfortunately, this track strays completely away from the stated goal of co

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-16 Thread Stefan Hajnoczi
On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery wrote: > +        if ((hostcache = qemu_opt_get_bool(opts, "hostcache", -1)) != -1) { This does not work. qemu_opt_get_bool() takes a bool default argument and returns a bool. (bool)-1 == true. But (int)true == 1 and you cannot expect it to ever

Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport

2011-11-16 Thread Anthony Liguori
On 11/16/2011 12:41 PM, Peter Maydell wrote: On 16 November 2011 14:33, Paolo Bonzini wrote: On 11/14/2011 03:55 PM, Peter Maydell wrote: This set of patches implements the QEMU end of the MMIO virtio transport (as specified by Appendix X of the latest virtio spec from here http://ozlabs.org/

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Barak Azulay
On Wednesday 16 November 2011 17:28:16 Michael Roth wrote: > On 11/16/2011 06:13 AM, Barak Azulay wrote: > > On Wednesday 16 November 2011 10:16:57 Alexander Graf wrote: > >> On 16.11.2011, at 08:05, Barak Azulay wrote: > >>> On Wednesday 16 November 2011 02:42:30 Alexander Graf wrote: > On 1

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Hans de Goede
Hi, On 11/16/2011 02:47 PM, Anthony Liguori wrote: On 11/16/2011 06:07 AM, Alon Levy wrote: On Wed, Nov 16, 2011 at 08:53:45AM +0100, Hans de Goede wrote: Hi, On 11/15/2011 11:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting

[Qemu-devel] [PATCH] loader: Fix read_targphys() to behave when read() fails

2011-11-16 Thread Markus Armbruster
Happily passes (size_t)-1 to rom_add_blob_fixed(), which promptly dies attempting to malloc that much. Spotted by Coverity. Bonus fix for ROMs larger than INT_MAX bytes: return ssize_t instead of int. Bug can't bite, because the only user load_aout() limits ROM size to an int value. Signed-off-

Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport

2011-11-16 Thread Peter Maydell
On 16 November 2011 14:33, Paolo Bonzini wrote: > On 11/14/2011 03:55 PM, Peter Maydell wrote: >> >> This set of patches implements the QEMU end of the MMIO virtio transport >> (as specified by Appendix X of the latest virtio spec from here >> http://ozlabs.org/~rusty/virtio-spec/virtio.pdf >> and

Re: [Qemu-devel] [v9 Patch 3/6]Qemu: Cmd "block_set_hostcache" for dynamic cache change

2011-11-16 Thread Stefan Hajnoczi
On Fri, Nov 11, 2011 at 6:47 AM, Supriya Kannery wrote: > +    { > +        .name       = "block_set_hostcache", > +        .args_type  = "device:B,option:b", > +        .params     = "device on|off", > +        .help       = "Change setting of host pagecache", > +        .user_print = monitor_use

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-16 Thread Scott Wood
On 11/11/2011 04:10 PM, Alex Williamson wrote: > > Thanks Konrad! Comments inline. > > On Fri, 2011-11-11 at 12:51 -0500, Konrad Rzeszutek Wilk wrote: >> On Thu, Nov 03, 2011 at 02:12:24PM -0600, Alex Williamson wrote: >>> +When supported, as indicated by the device flags, reset the device. >>>

Re: [Qemu-devel] [PATCH] Add -f option to qemu-nbd

2011-11-16 Thread Ian Campbell
On Wed, 2011-11-16 at 10:34 +, Stefan Hajnoczi wrote: > On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote: > > Currently qemu-nbd does not support finding free nbd device for users like > > "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error > > message when /dev/nbd

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-16 Thread Konrad Rzeszutek Wilk
On Fri, Nov 11, 2011 at 03:10:56PM -0700, Alex Williamson wrote: > > Thanks Konrad! Comments inline. > > On Fri, 2011-11-11 at 12:51 -0500, Konrad Rzeszutek Wilk wrote: > > On Thu, Nov 03, 2011 at 02:12:24PM -0600, Alex Williamson wrote: > > > VFIO provides a secure, IOMMU based interface for us

Re: [Qemu-devel] [RFC] dump memory when host pci device is used by guest

2011-11-16 Thread Dave Anderson
- Original Message - > Hi, all > > 'virsh dump' can not work when host pci device is used by guest. We have > discussed this issue here: > http://lists.nongnu.org/archive/html/qemu-devel/2011-10/msg00736.html > > We have determined to introduce a new command dump to dump memory. > The c

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Michael Roth
On 11/16/2011 06:13 AM, Barak Azulay wrote: On Wednesday 16 November 2011 10:16:57 Alexander Graf wrote: On 16.11.2011, at 08:05, Barak Azulay wrote: On Wednesday 16 November 2011 02:42:30 Alexander Graf wrote: On 16.11.2011, at 00:01, Michael Roth wrote: But practically-speaking, it's unavo

Re: [Qemu-devel] endless loop when use qemu-system-mipsel to load bios

2011-11-16 Thread rui chen
sorry, here is my new patch file: >From 05f4abe8d8c37f1585f2bb7cb89b15426044bb65 Mon Sep 17 00:00:00 2001 From: Chen Rui Date: Sun, 13 Nov 2011 19:42:42 +0800 Subject: [PATCH] resolve an endless loop when use qemu-system-mipsel to load bios Signed-off-by: Chen Rui --- hw/mips_malta.c |1 +

[Qemu-devel] Jamas se propuso esto antes. Sabemos que juntos podemos conseguirlo.

2011-11-16 Thread regalosdevida
*¿Te gustaría tener tu propia inmobiliaria Internacional. Con un equipo de cientos de personas a tu disposición y poder llevarte una parte por cada una de las ventas que se realicen.* * * *Aunque tú no intervengas?...* *Por una ridícula cantidad mensual*; entrarás en el mundo de los grand

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Michael Roth
On 11/16/2011 02:16 AM, Ayal Baron wrote: - Original Message - Hi, On 11/15/2011 11:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting requirements. We can then figure out if the two sets of requirements are strictly o

[Qemu-devel] [PATCH] slirp: Clean up net_slirp_hostfwd_remove()'s use of get_str_sep()

2011-11-16 Thread Markus Armbruster
get_str_sep() can fail, but net_slirp_hostfwd_remove() doesn't check. Works, because it initializes buf[] to "", which get_str_sep() doesn't touch when it fails. Coverity doesn't like it, and neither do I. Change it to work exactly like slirp_hostfwd(). Signed-off-by: Markus Armbruster --- net

[Qemu-devel] [PATCH] monitor: Fix file_completion() to check for stat() failure

2011-11-16 Thread Markus Armbruster
stat() can fail for a file name just read with readdir(). Easiest way to trigger is a dangling symbolic link --- look ma, no race! When it fails, file_completion() uses sb.st_mode uninitialized. If the directory bit happens to be set, it appends a "/" to the completed name. Signed-off-by: Marku

Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport

2011-11-16 Thread Paolo Bonzini
On 11/14/2011 03:55 PM, Peter Maydell wrote: This set of patches implements the QEMU end of the MMIO virtio transport (as specified by Appendix X of the latest virtio spec from here http://ozlabs.org/~rusty/virtio-spec/virtio.pdf and implemented by patches which I think are going into Linux 3.2).

Re: [Qemu-devel] [PATCH] Add -f option to qemu-nbd

2011-11-16 Thread Stefan Hajnoczi
On Wed, Nov 16, 2011 at 11:49 AM, Zhi Yong Wu wrote: > On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote: >> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote: >>> Currently qemu-nbd does not support finding free nbd device for users like >>> "losetup -f" and issuing "qemu-nbd -c /dev/nbdX

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Paolo Bonzini
On 11/16/2011 02:42 PM, Anthony Liguori wrote: On 11/16/2011 07:39 AM, Dor Laor wrote: On 11/16/2011 03:36 PM, Anthony Liguori wrote: We have another requirement. We need to embed the source for the guest agent in the QEMU release tarball. This is for GPL compliance since we want to include an

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Ayal Baron
- Original Message - > On 11/16/2011 07:39 AM, Dor Laor wrote: > > On 11/16/2011 03:36 PM, Anthony Liguori wrote: > >> We have another requirement. We need to embed the source for the > >> guest > >> agent in the QEMU release tarball. This is for GPL compliance > >> since we > >> want to

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Anthony Liguori
On 11/16/2011 06:07 AM, Alon Levy wrote: On Wed, Nov 16, 2011 at 08:53:45AM +0100, Hans de Goede wrote: Hi, On 11/15/2011 11:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting requirements. We can then figure out if the two sets

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Anthony Liguori
On 11/15/2011 04:39 PM, Ayal Baron wrote: - Original Message - On 11/15/2011 11:24 AM, Barak Azulay wrote: Hi, One of the breakout sessions during the ovirt workshop [1] was about the guest tools, and focused mainly on the ovirt-guest-agent [2]. One of the issues discussed there, wa

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Dor Laor
On 11/16/2011 02:07 PM, Alon Levy wrote: On Wed, Nov 16, 2011 at 08:53:45AM +0100, Hans de Goede wrote: Hi, On 11/15/2011 11:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting requirements. We can then figure out if the two sets

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Anthony Liguori
On 11/16/2011 07:39 AM, Dor Laor wrote: On 11/16/2011 03:36 PM, Anthony Liguori wrote: We have another requirement. We need to embed the source for the guest agent in the QEMU release tarball. This is for GPL compliance since we want to include an ISO (eventually) that contains binaries. This c

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Dor Laor
On 11/16/2011 03:36 PM, Anthony Liguori wrote: On 11/15/2011 04:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting requirements. We can then figure out if the two sets of requirements are strictly overlapping or if there are any requirem

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Anthony Liguori
On 11/15/2011 04:39 PM, Ayal Baron wrote: If you want to talk about convergence, the discussion should start around collecting requirements. We can then figure out if the two sets of requirements are strictly overlapping or if there are any requirements that are fundamentally in opposition. Ag

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Gal Hammer
On 15/11/2011 19:33, Alon Levy wrote: Does it have a seperate system level and user level part in Linux? It No. The ovirt-guest-agent have only one instance running in the system level. Gal.

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Barak Azulay
On Wednesday 16 November 2011 10:16:57 Alexander Graf wrote: > On 16.11.2011, at 08:05, Barak Azulay wrote: > > On Wednesday 16 November 2011 02:42:30 Alexander Graf wrote: > >> On 16.11.2011, at 00:01, Michael Roth wrote: > >>> But practically-speaking, it's unavoidable that qemu-specific > >>> m

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Alon Levy
On Wed, Nov 16, 2011 at 08:53:45AM +0100, Hans de Goede wrote: > Hi, > > On 11/15/2011 11:39 PM, Ayal Baron wrote: > > > > > > >>If you want to talk about convergence, the discussion should start > >>around > >>collecting requirements. We can then figure out if the two sets of > >>requirements

Re: [Qemu-devel] [PATCH] Add -f option to qemu-nbd

2011-11-16 Thread Zhi Yong Wu
On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote: > On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote: >> Currently qemu-nbd does not support finding free nbd device for users like >> "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error >> message when /dev/nbd is a

Re: [Qemu-devel] Sharing virtio-devices between several kvm virtual machines over network

2011-11-16 Thread Stefan Hajnoczi
On Tue, Nov 15, 2011 at 5:37 PM, Leib, David wrote: > I am trying to share devices between vm’s. For example I want to use a > cdrom-drive who is exposed to a vm from another vm over the network. The normal way of doing this would be to export the CD-ROM using NFS/CIFS or iSCSI. It has nothing t

Re: [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup

2011-11-16 Thread Kevin Wolf
Am 16.11.2011 11:35, schrieb Stefan Hajnoczi: > On Wed, Nov 16, 2011 at 7:01 AM, humeafo <891...@bugs.launchpad.net> wrote: >> Public bug reported: >> >> qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that >> env->jmp_env destroyed, (gdb) p env->jmp_env >> $3 = {0, 0, 0, 36249608, 4

Re: [Qemu-devel] Windows 7 shutdown causes BSOD

2011-11-16 Thread Gleb Natapov
On Wed, Nov 16, 2011 at 10:48:15AM +, Stefan Hajnoczi wrote: > On Wed, Nov 16, 2011 at 10:14 AM, hkran wrote: > > On 11/15/2011 09:17 PM, Stefan Hajnoczi wrote: > >> > >> On Fri, Nov 4, 2011 at 11:25 AM, Stefan Hajnoczi > >>  wrote: > >>> > >>> On Fri, Nov 4, 2011 at 10:48 AM, Stefan Hajnoczi

Re: [Qemu-devel] Windows 7 shutdown causes BSOD

2011-11-16 Thread Stefan Hajnoczi
On Wed, Nov 16, 2011 at 10:14 AM, hkran wrote: > On 11/15/2011 09:17 PM, Stefan Hajnoczi wrote: >> >> On Fri, Nov 4, 2011 at 11:25 AM, Stefan Hajnoczi >>  wrote: >>> >>> On Fri, Nov 4, 2011 at 10:48 AM, Stefan Hajnoczi >>>  wrote: Windows 7 32-bit guest blue screens when I shut it down p

Re: [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup

2011-11-16 Thread Stefan Hajnoczi
On Wed, Nov 16, 2011 at 7:01 AM, humeafo <891...@bugs.launchpad.net> wrote: > Public bug reported: > > qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that > env->jmp_env destroyed, (gdb) p env->jmp_env > $3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0,

Re: [Qemu-devel] [PATCH] Add -f option to qemu-nbd

2011-11-16 Thread Stefan Hajnoczi
On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote: > Currently qemu-nbd does not support finding free nbd device for users like > "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error > message when /dev/nbd is already in use. It makes things a little confusing. > This patc

Re: [Qemu-devel] [PATCH V2 03/12] hw/9pfs: File system helper process for qemu 9p proxy FS

2011-11-16 Thread Stefan Hajnoczi
On Wed, Nov 16, 2011 at 8:51 AM, M. Mohan Kumar wrote: > Stefan Hajnoczi wrote: >>> +static int socket_write(int sockfd, void *buff, ssize_t size) >>> +{ >>> +    int retval; >>> + >>> +    do { >>> +        retval = write(sockfd, buff, size); >>> +    } while (retval<  0&&  errno == EINTR); >>> +

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Daniel P. Berrange
On Tue, Nov 15, 2011 at 05:01:00PM -0600, Michael Roth wrote: > On 11/15/2011 11:24 AM, Barak Azulay wrote: > >Hi, > > > >One of the breakout sessions during the ovirt workshop [1] was about the > >guest > >tools, and focused mainly on the ovirt-guest-agent [2]. > > > >One of the issues discussed

Re: [Qemu-devel] Windows 7 shutdown causes BSOD

2011-11-16 Thread hkran
On 11/15/2011 09:17 PM, Stefan Hajnoczi wrote: On Fri, Nov 4, 2011 at 11:25 AM, Stefan Hajnoczi wrote: On Fri, Nov 4, 2011 at 10:48 AM, Stefan Hajnoczi wrote: Windows 7 32-bit guest blue screens when I shut it down properly with Start | Shut Down. The blue screen is only displayed for a spli

[Qemu-devel] hostfwd_add and -netdev user

2011-11-16 Thread Markus Armbruster
Maybe I'm missing something, but it looks like hostfwd_add doesn't fully work with -netdev. Command definition from hmp-commands.hx: { .name = "hostfwd_add", .args_type = "arg1:s,arg2:s?,arg3:s?", .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[gue

Re: [Qemu-devel] [PATCH V2 03/12] hw/9pfs: File system helper process for qemu 9p proxy FS

2011-11-16 Thread M. Mohan Kumar
Stefan Hajnoczi wrote: On Tue, Nov 15, 2011 at 11:57 AM, M. Mohan Kumar wrote: diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c new file mode 100644 index 000..69daf7c --- /dev/null +++ b/fsdev/virtfs-proxy-helper.c @@ -0,0 +1,271 @@ +/* + * Helper for QEMU Proxy F

Re: [Qemu-devel] [PATCH 2/4] virtio-scsi: Add basic request processing infrastructure

2011-11-16 Thread Paolo Bonzini
On 11/16/2011 09:28 AM, Zhi Yong Wu wrote: > +static void virtio_scsi_complete_req(VirtIOSCSIReq *req) > +{ > +VirtQueue *vq = req->vq; > +virtqueue_push(vq,&req->elem, req->qsgl.size + req->elem.in_sg[0].iov_len); > +qemu_sglist_destroy(&req->qsgl); > +if (req->sreq) { >

Re: [Qemu-devel] [PATCH 2/4] virtio-scsi: Add basic request processing infrastructure

2011-11-16 Thread Zhi Yong Wu
On Wed, Nov 16, 2011 at 1:00 AM, Paolo Bonzini wrote: > From: Stefan Hajnoczi > > Signed-off-by: Stefan Hajnoczi > Signed-off-by: Paolo Bonzini > --- >  hw/virtio-scsi.c |  138 > +- >  1 files changed, 136 insertions(+), 2 deletions(-) > > di

[Qemu-devel] [RFC] dump memory when host pci device is used by guest

2011-11-16 Thread Wen Congyang
Hi, all 'virsh dump' can not work when host pci device is used by guest. We have discussed this issue here: http://lists.nongnu.org/archive/html/qemu-devel/2011-10/msg00736.html We have determined to introduce a new command dump to dump memory. The core file's format can be elf. I created a kdum

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Alexander Graf
On 16.11.2011, at 08:05, Barak Azulay wrote: > On Wednesday 16 November 2011 02:42:30 Alexander Graf wrote: >> On 16.11.2011, at 00:01, Michael Roth wrote: >>> But practically-speaking, it's unavoidable that qemu-specific management >>> tooling will need to communicate with qemu (via QMP/libqmp/

Re: [Qemu-devel] [PATCH 0/4] KVM: Dirty logging optimization using rmap

2011-11-16 Thread Takuya Yoshikawa
Adding qemu-devel to Cc. (2011/11/14 21:39), Avi Kivity wrote: On 11/14/2011 12:56 PM, Takuya Yoshikawa wrote: (2011/11/14 19:25), Avi Kivity wrote: On 11/14/2011 11:20 AM, Takuya Yoshikawa wrote: This is a revised version of my previous work. I hope that the patches are more self explanator

Re: [Qemu-devel] converging around a single guest agent

2011-11-16 Thread Ayal Baron
- Original Message - > Hi, > > On 11/15/2011 11:39 PM, Ayal Baron wrote: > > > > > > >> If you want to talk about convergence, the discussion should start > >> around > >> collecting requirements. We can then figure out if the two sets > >> of > >> requirements > >> are strictly over