Re: [Qemu-devel] [PATCH 1/2] require gtk 2.20+

2013-02-22 Thread Daniel P. Berrange
On Fri, Feb 22, 2013 at 12:11:58PM +0100, Gerd Hoffmann wrote: > The gtk code uses gtk_widget_get_realized which is available in 2.20+ > only, so make this the minimum accepted versions. Fixes build failures > on RHEL-6 (which ships 2.18) by not building gtk support there. IMHO it'd be nicer to a

Re: [Qemu-devel] [PATCH] ui/gtk: require at least GTK 2.18 and VTE 0.26

2013-02-22 Thread Daniel P. Berrange
On Fri, Feb 22, 2013 at 08:41:42AM -0600, Anthony Liguori wrote: > This gives us the bare amount of features we need. We can add work arounds > for older versions and lower the requirement but this should be a good > starting point. > > Signed-off-by: Anthony Liguori > --- > configure | 45

[Qemu-devel] [PATCH ui/gtk 08/13] Conditionalize use of gtk_widget_size_request

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The gtk_widget_size_request method has been replaced by the gtk_widget_get_preferred_size method in GTK3. Conditionally call the new method in GTK3 Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 4 1 file changed, 4 insertions(+) diff --git a/ui/

[Qemu-devel] [PATCH ui/gtk 04/13] Conditionalize use of gdk_pointer_grab / gdk_pointer_ungrab

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" On GTK3 there is support for multiple pointer devices, so rather than using gdk_pointer_grab / gdk_pointer_ungrab we should iterate over all devices, grabbing each one in turn Signed-off-by: Daniel P. Berrange --- ui/

[Qemu-devel] [PATCH ui/gtk 06/13] Replace gtk_menu_append with gtk_menu_shell_append

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The gtk_menu_append method has long been deprecated in favour of the gtk_menu_shell_append method. The former is now entirely gone in GTK3, so switch all code to the latter which works on both GTK2 and GTK3 Signed-off-by: Daniel P. Berrange --- ui/

[Qemu-devel] [PATCH ui/gtk 09/13] Replace expose-event handler with draw handler in GTK3

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" In GTK3 the 'expose-event' signal has been replaced by a new 'draw' signal. The only difference is that the latter will pre-create the cairo drawing context & set the clip mask. Since the drawing code is already structured in a

[Qemu-devel] [PATCH ui/gtk 13/13] Add compat for GDK_KEY_XXX symbols

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The GDK_KEY_XXX symbols are new in GTK3 and only the most recent GTK2 releases. Most versions of GTK2 have simply used GDK_XXX Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 9 + 1 file changed, 9 insertions(+) diff --git a/ui/gtk.c b/ui/g

[Qemu-devel] [PATCH ui/gtk 12/13] Add compat macro for gtk_widget_get_realized

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The gtk_widget_get_realized method only arrived in GTK 2.20, so defined a compat macro for earlier GTK Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 5 + 1 file changed, 5 insertions(+) diff --git a/ui/gtk.c b/ui/gtk.c index fa4c3b0..82f0bb2 10064

Re: [Qemu-devel] [PATCH] ui/gtk: fix build on GTK 2.18 and older

2013-02-25 Thread Daniel P. Berrange
On Fri, Feb 22, 2013 at 07:51:30AM -0600, Anthony Liguori wrote: > Reported-by: Gerd Hoffman > Suggested-by: Daniel Berrange > Signed-off-by: Anthony Liguori > --- > ui/gtk.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/ui/gtk.c b/ui/gtk.c > index 5f91de4..46e30b9 100644 > ---

Re: [Qemu-devel] [PATCH] ui/gtk: fix build on GTK 2.18 and older

2013-02-25 Thread Daniel P. Berrange
On Fri, Feb 22, 2013 at 08:53:13AM -0600, Anthony Liguori wrote: > Gerd Hoffmann writes: > > > Hi, > > > >> +#if !GTK_CHECK_VERSION(2, 18, 0) > >> +#define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED(widget) > >> +#endif > > > > Not working: > > > > CCui/gtk.o > > cc1: warnings be

[Qemu-devel] [PATCH ui/gtk 00/13] Add support for GTK3 & fix GTK 2.18

2013-02-25 Thread Daniel P. Berrange
This series does the pretty minor work required to enable building QEMU GTK frontend with either GTK-2 or GTK-3, with a choice via configure --with-gtkabi=[2.0|3.0]. The last two patches also fix the build for GTK 2.18 on RHEL-6

[Qemu-devel] [PATCH ui/gtk 11/13] Add support for enabling build with GTK3

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Add a arg to configure to switch from GTK2 (default) to GTK3 (optional) build for QEMU. ./configure --with-gtkabi=3.0 will choose GTK3, while ./configure --with-gtkabi=2.0 will choose GTK2 (and remains the current default) Signed-off-by: Daniel P

[Qemu-devel] [PATCH ui/gtk 01/13] Add compat for gdk_drawable_get_size on GTK3

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" GTK3 lacks the gdk_drawable_get_size method, so we create a stub impl which gets the get_width/get_height mehtods instead Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/ui/gtk.c b/ui/gtk.c ind

[Qemu-devel] [PATCH ui/gtk 02/13] Remove use of gdk_drawable_get_{screen, display}

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The gdk_drawable_get_screen and gdk_drawable_get_display methods don't exist in GDK3. Fortunately, even on GTK2 they are not required - we can call the equivalent gtk_widget_get_screen/gtk_widget_get_display methods which have existed since GTK 2.2

[Qemu-devel] [PATCH ui/gtk 07/13] Conditionalize use of gdk_display_warp_pointer

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" In GTK3 the gdk_display_warp_pointer method is deprecated. Instead we should use gdk_device_warp on the GdkDevice instead associated with the event being processed. Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 7 ++- 1 file changed, 6 insert

[Qemu-devel] [PATCH ui/gtk 10/13] Ensure x_keymap.o is built when GTK is enabled

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The x_keymap.o file is required by both GTK and SDL builds, so it must be explicitly listed as a GTK dep to ensure the linker works when SDL is disabled Signed-off-by: Daniel P. Berrange --- ui/Makefile.objs | 2 +- 1 file changed, 1 insertion(+),

[Qemu-devel] [PATCH ui/gtk 03/13] Conditionalize use of gdk_keyboard_grab / gdk_keyboard_ungrab

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" On GTK3 there is support for multiple keyboard devices, so rather than using gdk_keyboard_grab / gdk_keyboard_ungrab we should iterate over all devices, grabbing each one in turn Signed-off-by: Daniel P. Berrange --- ui/

[Qemu-devel] [PATCH ui/gtk 05/13] Remove use of GtkVBox in GTK3

2013-02-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The GtkVBox class is deprecated, in favour of just using the GtkBox class directly. Eventually even GtkBox will be deprecated in favour of GtkGrid, but that is a bigger fix which can wait. Signed-off-by: Daniel P. Berrange --- ui/gtk.c | 4 1 file

Re: [Qemu-devel] unix sockets for qemu

2013-02-26 Thread Daniel P. Berrange
On Tue, Feb 26, 2013 at 05:31:04PM +0100, Stefan Hajnoczi wrote: > On Mon, Feb 25, 2013 at 07:02:30PM -0600, clow...@clownix.net wrote: > > The associated file contains a README that will guide you through the > > experiment that shows the difference between unix socket carried pings: > > 0.7ms and

Re: [Qemu-devel] [PATCH ui/gtk 00/13] Add support for GTK3 & fix GTK 2.18

2013-02-27 Thread Daniel P. Berrange
Sorry Anthony, forgot to CC you on this thread originally. I can re-post it if you prefer. Daniel On Mon, Feb 25, 2013 at 03:20:33PM +, Daniel P. Berrange wrote: > This series does the pretty minor work required to enable building > QEMU GTK frontend with either GTK-2 or GTK-3, with a

Re: [Qemu-devel] [PATCH] net: use socket_set_nodelay() for -netdev socket

2013-02-27 Thread Daniel P. Berrange
gt; decide packet scheduling. > > I already get sub-millisecond -netdev socket ping times on localhost, so > there was no measurable difference in my testing. This won't hurt > though and may improve remote socket performance. > > Signed-off-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH v10 3/5] qemu: URI parsing library

2012-09-27 Thread Daniel P. Berrange
On Thu, Sep 27, 2012 at 07:28:43PM +0530, Bharata B Rao wrote: > qemu: URI parsing library > > From: Paolo Bonzini > > Add a new URI parsing library to QEMU. The code has been borrowed from > libxml2 and libvirt. > > Signed-off-by: Paolo Bonzini > Signed-off-by: Bharata B Rao > --- > > Make

Re: [Qemu-devel] [PATCH v10 3/5] qemu: URI parsing library

2012-09-28 Thread Daniel P. Berrange
On Thu, Sep 27, 2012 at 05:55:15PM +0200, Paolo Bonzini wrote: > Il 27/09/2012 16:36, Daniel P. Berrange ha scritto: > >> > qemu: URI parsing library > >> > > >> > From: Paolo Bonzini > >> > > >> > Add a new URI parsing library to Q

Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to "kvm" if the host supports it

2012-10-01 Thread Daniel P. Berrange
On Mon, Oct 01, 2012 at 06:43:00PM +0200, Andreas Färber wrote: > Hello Jan, > > Am 01.10.2012 16:34, schrieb Jan Kiszka: > > If we built a target for a host that supports KVM in principle, set the > > default accelerator to KVM as well. This also means the start of QEMU > > will fail to start if

Re: [Qemu-devel] qemu-kvm: remove "boot=on|off" drive parameter compatibility

2012-10-02 Thread Daniel P. Berrange
On Mon, Oct 01, 2012 at 08:19:29AM -0500, Anthony Liguori wrote: > Jan Kiszka writes: > I think at this point, none of this matters but I added the various > distro maintainers to the thread. > > I think it's time for the distros to drop qemu-kvm and just ship > qemu.git. Is there anything else

Re: [Qemu-devel] RFC: making QMP query-block more useful

2012-10-08 Thread Daniel P. Berrange
On Fri, Oct 05, 2012 at 05:52:35PM -0600, Eric Blake wrote: > Right now, 'query-block' has no way to filter to a single device, but > conversely, for each device, it shows only the first backing file, > rather than the entire backing chain. Jeff and I were lamenting this > fact on IRC while debugg

[Qemu-devel] [PATCH] Add ability to build without any targets enabled

2012-08-31 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The qemu-img, qemu-nbd and qemu-io tools are quite useful in their own right. eg LXC can use qemu-img and qemu-nbd to support running of containers with qcow2 images. As such it is reasonable to allow building these tools, without enabling any QEMU targets. T

[Qemu-devel] [PATCH] Don't require encryption password for 'qemu-img info' command

2012-08-31 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The encryption password is only required if I/O is going to be performed on a disk image. The 'qemu-img info' command merely reports metadata, so it should not ask for a decryption password Signed-off-by: Daniel P. Berrange

Re: [Qemu-devel] [PATCH] qemu-options.hx: Change from recommending '?' to 'help'

2012-09-06 Thread Daniel P. Berrange
> change our help text without worrying about breaking libvirt. > > Signed-off-by: Peter Maydell On behalf of libvirt... Signed-off-by: Daniel P. Berrange > --- > qemu-options.hx | 36 > 1 file changed, 16 insertions(+), 20 deletions(-)

Re: [Qemu-devel] [PATCH v6 2/2] block: Support GlusterFS as a QEMU block backend

2012-09-06 Thread Daniel P. Berrange
On Thu, Sep 06, 2012 at 09:10:04PM +0530, Bharata B Rao wrote: > On Thu, Sep 06, 2012 at 11:29:36AM +0300, Avi Kivity wrote: > > On 08/14/2012 12:58 PM, Kevin Wolf wrote: > > > > > >> While we are at this, let me bring out another issue. Gluster supports 3 > > >> transport types: > > >> > > >> -

Re: [Qemu-devel] [PATCH v6 2/2] block: Support GlusterFS as a QEMU block backend

2012-09-07 Thread Daniel P. Berrange
On Fri, Sep 07, 2012 at 08:54:02AM +0530, Bharata B Rao wrote: > On Thu, Sep 06, 2012 at 04:47:17PM +0100, Daniel P. Berrange wrote: > > IMHO this is all gross. URIs already have a well defined way to provide > > multiple parameters, dealing with escaping of special chara

Re: [Qemu-devel] [PATCH v6 2/2] block: Support GlusterFS as a QEMU block backend

2012-09-07 Thread Daniel P. Berrange
On Fri, Sep 07, 2012 at 12:00:50PM +0200, Kevin Wolf wrote: > Am 06.09.2012 17:47, schrieb Daniel P. Berrange: > > On Thu, Sep 06, 2012 at 09:10:04PM +0530, Bharata B Rao wrote: > >> On Thu, Sep 06, 2012 at 11:29:36AM +0300, Avi Kivity wrote: > >>> On 08/14/2

Re: [Qemu-devel] [PATCH] Don't require encryption password for 'qemu-img info' command

2012-09-10 Thread Daniel P. Berrange
On Mon, Sep 10, 2012 at 12:44:52PM +0200, Kevin Wolf wrote: > Am 04.09.2012 16:23, schrieb Kevin Wolf: > > Am 31.08.2012 19:30, schrieb Eric Blake: > >> On 08/31/2012 10:26 AM, Daniel P. Berrange wrote: > >>> From: "Daniel P. Berrange" > >>> &

[Qemu-devel] [PATCH v2] Don't require encryption password for 'qemu-img info' command

2012-09-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The encryption password is only required if I/O is going to be performed on a disk image. The 'qemu-img info' command merely reports metadata, so it should not ask for a decryption password Signed-off-by: Daniel P. Berrange

[Qemu-devel] [PATCH v2] Add ability to force enable/disable of tools build

2012-09-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The qemu-img, qemu-nbd and qemu-io tools are built conditionally based on whether any softmmu target is enabled. These are useful self-contained tools which can be used in many other scenarios. Add new --enable-tools/--disable-tools args to configure to allo

[Qemu-devel] [PATCH v2] Add ability to disable build of all targets

2012-09-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Allow passing of '--target-list=' to configure to request that all targets are to be disabled. This allows for doing a very fast tools-only build of things like qemu-img, qemu-io, qemu-nbd. Signed-off-by: Daniel P. Berrange --- configure | 13 +

Re: [Qemu-devel] [RFC v3 ATCH 0/5] char: expose CirMemCharDriver and provide QMP interface

2012-09-12 Thread Daniel P. Berrange
On Wed, Sep 12, 2012 at 07:57:21PM +0800, Lei Li wrote: > This RFC series attempts to convert the MemCharDriver to use a circular > buffer for input and output, expose it to users by introducing QMP commands > memchar_write and memchar_read and via the command line like the other > CharDriverStates

Re: [Qemu-devel] Rethinking missed tick catchup

2012-09-13 Thread Daniel P. Berrange
On Thu, Sep 13, 2012 at 07:14:08AM -0600, Eric Blake wrote: > On 09/13/2012 04:49 AM, Gleb Natapov wrote: > >> They do if you hibernate your laptop. > >> > > AFAIK libvirt migrates vm into a file on hibernate. It is better to move to > > S3 > > (using qemu-ga) instead and migrate to file only if s

Re: [Qemu-devel] [libvirt] [PATCH v4 0/5] Per-guest configurable user/group for QEMU processes

2012-09-14 Thread Daniel P. Berrange
On Tue, Sep 11, 2012 at 02:13:38PM -0400, Corey Bryant wrote: > Are there any other requirements that need to be taken care of to > enable execution of QEMU guests under separate unprivileged user IDs > (ie. DAC isolation)? > > At this point, this patch series (Per-guest configurable user/group >

Re: [Qemu-devel] qemu-system-i386 vs qemu-system-x86_64 ?

2012-09-14 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 11:39:38AM +0400, Michael Tokarev wrote: > What's the difference between the two except that the > latter adds some more instructions (actually whole new > subsytem) to the former? Why do we need -i386, what > -x86_64 does not do which does -i386? AFAIK, qemu-system-x86_6

Re: [Qemu-devel] qemu-system-i386 vs qemu-system-x86_64 ?

2012-09-14 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 12:12:43PM +0200, Jan Kiszka wrote: > On 2012-09-14 12:03, Michael Tokarev wrote: > > On 14.09.2012 14:00, Jan Kiszka wrote: > > [] > >> The major difference in qemu-system-i386 vs. qemu-system-x86_64 is on > >> the TCG side: We measured noticeable performance benefits when

Re: [Qemu-devel] [PATCH] configure: fix "--target-list=, , ..." option

2012-09-14 Thread Daniel P. Berrange
x-user,x86_64-softmmu' not recognised > >> $ > >> > >> This patch restores that ability. > >> > >> Signed-off-by: Eduardo Habkost > >> Cc: Daniel P. Berrange > >> Cc: Anthony Liguori > >> --- > >> configure | 4 +++-

Re: [Qemu-devel] directory hierarchy

2012-09-14 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 03:17:52PM +0200, Paolo Bonzini wrote: > Hi all, > > here is a proposal for moving around 150 C files currently in the > toplevel directory to separate, well-delimited subdirectories. Header > files would be moved for now in include/, preparing for subsequent > reorganizat

Re: [Qemu-devel] [libvirt] [PATCH v4 0/5] Per-guest configurable user/group for QEMU processes

2012-09-14 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 09:31:26AM -0400, Corey Bryant wrote: > > > On 09/14/2012 04:40 AM, Daniel P. Berrange wrote: > >On Tue, Sep 11, 2012 at 02:13:38PM -0400, Corey Bryant wrote: > >>Are there any other requirements that need to be taken care of to > >>enab

Re: [Qemu-devel] [libvirt] [PATCH v2 1/4] config: Introduce for SPICE graphics

2012-09-15 Thread Daniel P. Berrange
On Fri, Sep 14, 2012 at 05:23:16PM -0600, Eric Blake wrote: > [adding qemu] > > On 09/14/2012 11:47 AM, Daniel P. Berrange wrote: > > On Fri, Sep 14, 2012 at 07:34:50PM +0200, Michal Privoznik wrote: > >> With this element users will control how SPICE > >> serve

Re: [Qemu-devel] [RFC PATCH 00/13] Embedded NBD server

2012-09-19 Thread Daniel P. Berrange
On Mon, Aug 27, 2012 at 05:00:13PM +0200, Paolo Bonzini wrote: > Hi all, > > this is an RFC series implementing an NBD server embedded inside QEMU. > This can be used in various cases, including migration with non-shared > storage. > > Three new commands are introduced at the QMP level > > { '

Re: [Qemu-devel] [libvirt] [PATCH v2 1/4] config: Introduce for SPICE graphics

2012-09-19 Thread Daniel P. Berrange
On Wed, Sep 19, 2012 at 03:26:49PM +0200, Michal Privoznik wrote: > On 15.09.2012 17:10, Daniel P. Berrange wrote: > > On Fri, Sep 14, 2012 at 05:23:16PM -0600, Eric Blake wrote: > >> [adding qemu] > >> > >> On 09/14/2012 11:47 AM, Daniel P. Berrange wrote: >

Re: [Qemu-devel] [libvirt] [PATCH v2 1/4] config: Introduce for SPICE graphics

2012-09-19 Thread Daniel P. Berrange
On Wed, Sep 19, 2012 at 03:26:49PM +0200, Michal Privoznik wrote: > On 15.09.2012 17:10, Daniel P. Berrange wrote: > > On Fri, Sep 14, 2012 at 05:23:16PM -0600, Eric Blake wrote: > >> [adding qemu] > >> > >> On 09/14/2012 11:47 AM, Daniel P. Berrange wrote: >

Re: [Qemu-devel] [PATCH] net: use socket_set_nodelay() for -netdev socket

2013-02-28 Thread Daniel P. Berrange
On Thu, Feb 28, 2013 at 02:49:51PM +0100, Stefan Hajnoczi wrote: > On Wed, Feb 27, 2013 at 04:49:16PM +0000, Daniel P. Berrange wrote: > > On Wed, Feb 27, 2013 at 03:05:47PM +0100, Stefan Hajnoczi wrote: > > > Reduce -netdev socket latency by disabling the Nagle algorithm on

Re: [Qemu-devel] libvirt<->QEMU interfaces for CPU models

2013-03-01 Thread Daniel P. Berrange
On Fri, Mar 01, 2013 at 07:31:46PM +0100, Andreas Färber wrote: > Am 01.03.2013 14:12, schrieb Jiri Denemark: > > On Thu, Feb 21, 2013 at 11:58:18 -0300, Eduardo Habkost wrote: > >> = Listing CPU models = > >> > >> Requirement: libvirt needs to know which CPU models are available to be > >> used >

Re: [Qemu-devel] virtio-rng and fd passing

2013-03-04 Thread Daniel P. Berrange
On Fri, Mar 01, 2013 at 04:14:40PM -0700, Eric Blake wrote: > > I understand the reason that fdsets exist (because NFS is stupid and > > doesn't support labeling). But we aren't doing dynamic labeling of > > /dev/random and I strongly suspect it's not on NFS anyway. > > > > So why are we trying t

Re: [Qemu-devel] libvirt<->QEMU interfaces for CPU models

2013-03-04 Thread Daniel P. Berrange
On Fri, Mar 01, 2013 at 03:58:18PM -0300, Eduardo Habkost wrote: > On Fri, Mar 01, 2013 at 07:31:46PM +0100, Andreas Färber wrote: > > Am 01.03.2013 14:12, schrieb Jiri Denemark: > > > On Thu, Feb 21, 2013 at 11:58:18 -0300, Eduardo Habkost wrote: > > >> = Listing CPU models = > > >> > > >> Require

Re: [Qemu-devel] [RFC] qcow3 format in libvirt

2013-03-04 Thread Daniel P. Berrange
On Mon, Mar 04, 2013 at 01:58:12PM +0100, Ján Tomko wrote: > Before posting another version of my patches [1], attempting to add > support for the new qcow format to libvirt, I would like to know if this > sounds reasonable: > > A new format named 'qcow3' would be added, along with a > sub-elemen

Re: [Qemu-devel] [RFC] qcow3 format in libvirt

2013-03-04 Thread Daniel P. Berrange
On Mon, Mar 04, 2013 at 03:04:53PM +0100, Kevin Wolf wrote: > Am 04.03.2013 um 14:09 hat Daniel P. Berrange geschrieben: > > On Mon, Mar 04, 2013 at 01:58:12PM +0100, Ján Tomko wrote: > > > Before posting another version of my patches [1], attempting to add > > > support

Re: [Qemu-devel] [RFC] qcow3 format in libvirt

2013-03-04 Thread Daniel P. Berrange
On Mon, Mar 04, 2013 at 03:38:54PM +0100, Kevin Wolf wrote: > Am 04.03.2013 um 15:27 hat Daniel P. Berrange geschrieben: > > On Mon, Mar 04, 2013 at 03:04:53PM +0100, Kevin Wolf wrote: > > > Am 04.03.2013 um 14:09 hat Daniel P. Berrange geschrieben: > > > I think it ma

Re: [Qemu-devel] [RFC] qcow3 format in libvirt

2013-03-04 Thread Daniel P. Berrange
On Mon, Mar 04, 2013 at 04:05:50PM +0100, Kevin Wolf wrote: > Am 04.03.2013 um 15:46 hat Daniel P. Berrange geschrieben: > > On Mon, Mar 04, 2013 at 03:38:54PM +0100, Kevin Wolf wrote: > > > Am 04.03.2013 um 15:27 hat Daniel P. Berrange geschrieben: > > > > On Mon, Ma

Re: [Qemu-devel] default guest RAM size?

2013-03-05 Thread Daniel P. Berrange
On Tue, Mar 05, 2013 at 09:26:32AM +0400, Michael Tokarev wrote: > For many years, qemu defaults to 128Mb of guest RAM size. > Today, this is just too small, and many OSes fails to boot > with this size, more, they fail to produce any reasonable > messages either (eg, windows7 just crashes at start

Re: [Qemu-devel] default guest RAM size?

2013-03-06 Thread Daniel P. Berrange
On Thu, Mar 07, 2013 at 02:34:53AM +0800, Peter Maydell wrote: > On 6 March 2013 11:59, Rob Landley wrote: > > On 03/05/2013 12:09:27 AM, Peter Maydell wrote: > >> On 5 March 2013 14:07, 陳韋任 (Wei-Ren Chen) > >> wrote: > >> > On Tue, Mar 05, 2013 at 01:40:38PM +0800, Peter Maydell wrote: > >> >> O

Re: [Qemu-devel] [PATCH 0/7] introduce BSD-licensed block driver for "raw"

2013-08-16 Thread Daniel P. Berrange
On Fri, Aug 16, 2013 at 09:59:07AM -0500, Anthony Liguori wrote: > Laszlo Ersek writes: > > > Paolo asked me to write such a driver based on his textual specification > > alone. The first patch captures his email in full, the rest re-quotes > > parts that are being implemented. > > > > The tree c

Re: [Qemu-devel] [libvirt] [PATCH] qemu: Drop qemuDomainMemoryLimit

2013-08-19 Thread Daniel P. Berrange
On Mon, Aug 19, 2013 at 10:29:10AM +0200, Michal Privoznik wrote: > On 09.08.2013 18:29, Daniel P. Berrange wrote: > > On Fri, Aug 09, 2013 at 10:58:55AM -0500, Anthony Liguori wrote: > >> Michal Privoznik writes: > >> > >>> [CC'ing qemu-devel list] &

Re: [Qemu-devel] Fwd: [libvirt] virDomainAttachDevice error during disk hotplug

2013-08-20 Thread Daniel P. Berrange
On Tue, Aug 20, 2013 at 04:43:48PM +0200, Stefan Hajnoczi wrote: > On Fri, Aug 16, 2013 at 06:52:32PM +0530, Deepak C Shetty wrote: > > 2) qemu-img info /var/run/vdsm/017d-1278-4bfb-8129-62bded257399 > > image: /var/run/vdsm/017d-1278-4bfb-8129-62bded257399 > > file format: qcow2 > > virtua

Re: [Qemu-devel] Fwd: [libvirt] virDomainAttachDevice error during disk hotplug

2013-08-21 Thread Daniel P. Berrange
On Wed, Aug 21, 2013 at 11:03:49AM +0200, Stefan Hajnoczi wrote: > On Tue, Aug 20, 2013 at 03:57:40PM +0100, Daniel P. Berrange wrote: > > On Tue, Aug 20, 2013 at 04:43:48PM +0200, Stefan Hajnoczi wrote: > > > On Fri, Aug 16, 2013 at 06:52:32PM +0530, Deepak C Shetty wrote: &

Re: [Qemu-devel] [RFC PATCH v2 0/3] Start fixing the pvpanic mess

2013-08-21 Thread Daniel P. Berrange
On Wed, Aug 21, 2013 at 06:43:13PM +0200, Paolo Bonzini wrote: > The pvpanic mess is even bigger than anticipated. Let's fix the monitor's > behavior (patch 1), get rid of all traces that the broken pvpanic existed > (patch 2), and give it a new name so that libvirt can detect a design > that work

Re: [Qemu-devel] [RFC PATCH v2 0/3] Start fixing the pvpanic mess

2013-08-21 Thread Daniel P. Berrange
On Wed, Aug 21, 2013 at 06:51:11PM +0200, Paolo Bonzini wrote: > Il 21/08/2013 18:48, Daniel P. Berrange ha scritto: > > No, is the right thing to be using for this from > > libvirt's pov & I don't think we should invent something new. > > The element ha

Re: [Qemu-devel] [RFC PATCH v2 0/3] Start fixing the pvpanic mess

2013-08-22 Thread Daniel P. Berrange
On Wed, Aug 21, 2013 at 06:56:52PM +0200, Paolo Bonzini wrote: > Il 21/08/2013 18:55, Daniel P. Berrange ha scritto: > > On Wed, Aug 21, 2013 at 06:51:11PM +0200, Paolo Bonzini wrote: > >> Il 21/08/2013 18:48, Daniel P. Berrange ha scritto: > >>> No, is the right t

Re: [Qemu-devel] [libvirt] pvpanic plans?

2013-08-27 Thread Daniel P. Berrange
On Thu, Aug 22, 2013 at 09:16:57PM +0200, Paolo Bonzini wrote: > Il 22/08/2013 19:53, Laszlo Ersek ha scritto: > >> > We should just introduce a simple watchdog device based on virtio and > >> > call it a day. Then it's cross platform, solves the guest enumeration > >> > problem, and libvirt can d

Re: [Qemu-devel] [libvirt] [PATCH 3/5] qemu: add usb-bot support from disks points of view

2013-09-02 Thread Daniel P. Berrange
On Mon, Sep 02, 2013 at 05:38:42PM +0800, Guannan Ren wrote: > usb-bot only supports 16 luns(0~15) and they must be contiguous, > (using lun 0 and 2 without 1 doesn't work). In this case qemu > doesn't throw an error, we can not find the lun 2 in guests. So > Adding a checking function in libvirt t

Re: [Qemu-devel] [libvirt] [PATCH 3/5] qemu: add usb-bot support from disks points of view

2013-09-03 Thread Daniel P. Berrange
On Tue, Sep 03, 2013 at 09:51:52AM +0200, Gerd Hoffmann wrote: > On Mo, 2013-09-02 at 13:57 +0100, Daniel P. Berrange wrote: > > On Mon, Sep 02, 2013 at 05:38:42PM +0800, Guannan Ren wrote: > > > usb-bot only supports 16 luns(0~15) and they must be contiguous, > > > (

Re: [Qemu-devel] [QEMU-1.6 & QEMU-Upstream PATCH] vl.c: Output error on invalid machine type provided

2013-09-05 Thread Daniel P. Berrange
On Thu, Sep 05, 2013 at 01:36:09PM +0200, Michal Novotny wrote: > Output error message using qemu's error_report() function when user > provides the invalid machine type on the command line. This also saves > time to find what issue is when you downgrade from one version of qemu > to another that d

Re: [Qemu-devel] [libvirt] [PATCH v3 2/2] Add configure option --enable-pc-1-0-qemu-kvm

2014-09-22 Thread Daniel P. Berrange
On Mon, Sep 22, 2014 at 02:36:55PM +0300, Michael S. Tsirkin wrote: > On Sun, Sep 21, 2014 at 03:38:59PM +0100, Alex Bligh wrote: > > Add a configure option --enable-pc-1-0-qemu-kvm and the > > corresponding --disable-pc-1-0-qemu-kvm, defaulting > > to disabled. > > > > Rename machine type pc-1.0

Re: [Qemu-devel] NBD TLS support in QEMU

2014-10-02 Thread Daniel P. Berrange
On Wed, Oct 01, 2014 at 10:23:26PM +0200, Wouter Verhelst wrote: > Hi, > > On Fri, Sep 05, 2014 at 03:26:09PM +0200, Wouter Verhelst wrote: > > Tunneling the entire protocol inside an SSL connection doesn't fix that; > > if an attacker is able to hijack your TCP connections and change flags, > > t

Re: [Qemu-devel] [PATCH 0/2 V5] Virtual Machine Generation ID

2014-10-06 Thread Daniel P. Berrange
On Wed, Sep 17, 2014 at 02:39:50PM +0300, Gal Hammer wrote: > Hi, > > A two parts patch to add a QEmu support for Microsoft's Virtual Machine > Generation ID device. > > The first one add a new ACPI directive which allow to use a 16-bytes > buffer in an ACPI table. This buffer is for storing the

Re: [Qemu-devel] [PATCH] ui/gtk: Add Turkish translations

2013-04-24 Thread Daniel P. Berrange
On Wed, Apr 24, 2013 at 07:36:25AM -0500, Anthony Liguori wrote: > Andreas Färber writes: > > > Anthony, > > > > Am 23.04.2013 12:04, schrieb Ozan Çağlayan: > >> Signed-off-by: Ozan Çağlayan > >> --- > >> po/tr.po | 62 > >> ++ > >> 1

Re: [Qemu-devel] [libvirt] Regarding guest-file-write

2014-06-24 Thread Daniel P. Berrange
On Tue, Jun 24, 2014 at 06:20:16PM +0530, Puneet Bakshi wrote: > Hi, > > >From host, I wrote 26 alphabets in guest file (/tmp/testqga) using > guest-file-write guest agent command (logs pasted below). I faced 2 issues > when doing that. > > 1a. It could wrote only 18bytes! Why could it not write

Re: [Qemu-devel] [RFC 2/3] QMP: rate limit BLOCK_IO_ERROR

2014-08-11 Thread Daniel P. Berrange
On Wed, Jul 23, 2014 at 09:17:17AM -0400, Luiz Capitulino wrote: > This event has the same characteristics of the other rate-limited > events, mainly we can emit dozens of it. Rate limit it then. > > Signed-off-by: Luiz Capitulino > --- > monitor.c | 1 + > 1 file changed, 1 insertion(+) > > di

Re: [Qemu-devel] [RFC 2/3] QMP: rate limit BLOCK_IO_ERROR

2014-08-11 Thread Daniel P. Berrange
On Mon, Aug 11, 2014 at 01:07:51PM +0200, Markus Armbruster wrote: > "Daniel P. Berrange" writes: > > For the BLOCK IO ERROR events this does not work because the events are > > device and operation specific. > > > > QAPI_EVENT_BLOCK_IO_E

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread Daniel P. Berrange
On Mon, Aug 11, 2014 at 07:38:50PM -0400, 吴兴博 wrote: > Hello, > > The introduction in the wiki page present several advantages of qcow2 > [1]. But I'm a little confused. I really appreciate if any one can give me > some help on this :). > > (1) Currently the raw format doesn't support COW. In

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Daniel P. Berrange
On Thu, Aug 21, 2014 at 08:10:54PM -0400, John Snow wrote: > I was running a series of tests on 32 and 64 bit hosts to test for > endianness and variable width issues when I noticed that I couldn't properly > perform a build of "make check" against a 32bit target from a 64bit host: > > ../../confi

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Daniel P. Berrange
On Fri, Aug 22, 2014 at 09:28:05AM +0100, Peter Maydell wrote: > On 22 August 2014 09:20, Daniel P. Berrange wrote: > > Distros will install pkg-config .pc files for non-native architectures > > in a different location normally. The supported / recommended way to > > tell

Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc

2014-08-22 Thread Daniel P. Berrange
On Fri, Aug 22, 2014 at 01:25:56PM +0100, Richard W.M. Jones wrote: > > On Mon, Jul 28, 2014 at 04:48:46PM +0800, Hu Tao wrote: > > ping... > > > > All the 6 patches have reviewed-by now. > > > > On Fri, Jul 11, 2014 at 02:09:57PM +0800, Hu Tao wrote: > > > This series adds two preallocation mod

Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc

2014-08-22 Thread Daniel P. Berrange
On Fri, Aug 22, 2014 at 03:13:31PM +0200, Kevin Wolf wrote: > Am 22.08.2014 um 14:25 hat Richard W.M. Jones geschrieben: > > > > On Mon, Jul 28, 2014 at 04:48:46PM +0800, Hu Tao wrote: > > > ping... > > > > > > All the 6 patches have reviewed-by now. > > > > > > On Fri, Jul 11, 2014 at 02:09:57P

Re: [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt

2014-08-27 Thread Daniel P. Berrange
On Sat, Aug 23, 2014 at 12:19:05PM +0200, Laszlo Ersek wrote: > Libvirt is growing support for x86_64 OVMF guests: > > http://www.redhat.com/archives/libvir-list/2014-August/msg01045.html > > An important feature of such guests is the persistent store for > non-volatile UEFI variables. This is im

Re: [Qemu-devel] [libvirt] [PATCH 4/7] qemu: Add monitor APIs to fetch CPUID data from QEMU

2013-07-25 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 03:25:19PM -0300, Eduardo Habkost wrote: > On Tue, Jul 23, 2013 at 07:32:46PM +0200, Jiri Denemark wrote: > > On Tue, Jul 23, 2013 at 19:28:38 +0200, Jiri Denemark wrote: > > > On Tue, Jul 23, 2013 at 17:32:42 +0100, Daniel Berrange wrote: > > > > On Tue, Jul 23, 2013 at 06:

Re: [Qemu-devel] [libvirt] [PATCH 4/7] qemu: Add monitor APIs to fetch CPUID data from QEMU

2013-07-25 Thread Daniel P. Berrange
On Thu, Jul 25, 2013 at 04:09:18PM +0200, Andreas Färber wrote: > Am 25.07.2013 16:00, schrieb Eduardo Habkost: > > libvirt > > needs a way to find out how exactly "-machine foo-1.0 -cpu bar" looks > > different from "-machine foo-1.1 -cpu bar", > > Why? (What's the actual use case?) It already t

Re: [Qemu-devel] [libvirt] [PATCH 4/7] qemu: Add monitor APIs to fetch CPUID data from QEMU

2013-07-25 Thread Daniel P. Berrange
On Thu, Jul 25, 2013 at 10:15:56AM -0300, Eduardo Habkost wrote: > On Thu, Jul 25, 2013 at 10:45:10AM +0100, Daniel P. Berrange wrote: > > On Wed, Jul 24, 2013 at 03:25:19PM -0300, Eduardo Habkost wrote: > > > In addition to the "-cpu host" KVM initialization problem,

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.5.2 Stable released

2013-07-26 Thread Daniel P. Berrange
On Thu, Jul 25, 2013 at 04:44:43PM -0500, Michael Roth wrote: > The QEMU v1.5.2 stable release is now available at: > > http://wiki.qemu.org/download/qemu-1.5.2.tar.bz2 > > This is release is solely to address a security issue (CVE-2013-2231) found > in the QEMU Guest Agent on Windows. More det

Re: [Qemu-devel] QCOW2 cryptography and secure key handling

2013-07-29 Thread Daniel P. Berrange
On Mon, Jul 29, 2013 at 01:25:24PM +0200, Kevin Wolf wrote: > Am 29.07.2013 um 13:21 hat Markus Armbruster geschrieben: > > Paolo Bonzini writes: > > > > > Il 23/07/2013 17:57, Daniel P. Berrange ha scritto: > > >> On Tue, Jul 23, 2013 at 05:38:00PM +0200, Kev

Re: [Qemu-devel] pvpanic device should not be automatically included as an internal device

2013-08-02 Thread Daniel P. Berrange
On Fri, Aug 02, 2013 at 10:31:11AM +0200, Paolo Bonzini wrote: > On 08/02/2013 12:42 AM, Eric Blake wrote: > >On 08/01/2013 04:23 PM, Paolo Bonzini wrote: > >>>Automatic devices with no command line argument have proven to be a > >>>nightmare for libvirt as well. Although the just-released libvirt

[Qemu-devel] Versioned machine types for ARM/non-x86 ? (Was Re: [PATCH v4 0/2] ARM: add 'virt' platform)

2013-08-05 Thread Daniel P. Berrange
On Mon, Aug 05, 2013 at 12:18:10PM +0100, Peter Maydell wrote: > This patch series adds a 'virt' platform which uses the > kernel's mach-virt (fully device-tree driven) support > to create a simple minimalist platform intended for > use for KVM VM guests. It's based on John Rigby's > patches, but I

Re: [Qemu-devel] Versioned machine types for ARM/non-x86 ? (Was Re: [PATCH v4 0/2] ARM: add 'virt' platform)

2013-08-05 Thread Daniel P. Berrange
On Mon, Aug 05, 2013 at 08:28:50AM -0500, Anthony Liguori wrote: > "Daniel P. Berrange" writes: > > > On Mon, Aug 05, 2013 at 12:18:10PM +0100, Peter Maydell wrote: > >> This patch series adds a 'virt' platform which uses the > >> kernel'

Re: [Qemu-devel] Versioned machine types for ARM/non-x86 ? (Was Re: [PATCH v4 0/2] ARM: add 'virt' platform)

2013-08-05 Thread Daniel P. Berrange
On Mon, Aug 05, 2013 at 02:02:54PM +0100, Peter Maydell wrote: > On 5 August 2013 13:49, Daniel P. Berrange wrote: > > On x86, we've long had versioned machine names, so that we can > > make changes in future QEMU releases without breaking guest ABI > > compatibilit

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Daniel P. Berrange
On Thu, Aug 08, 2013 at 10:40:28AM -0500, Anthony Liguori wrote: > Andreas Färber writes: > >> We have a mechanism to do weak functions via stubs/. I think it would > >> be better to do cpu_get_byteswap() as a stub function and then overload > >> it in the ppc64 code. > > > > If this as your name

Re: [Qemu-devel] [libvirt] [PATCH] qemu: Drop qemuDomainMemoryLimit

2013-08-09 Thread Daniel P. Berrange
On Fri, Aug 09, 2013 at 10:58:55AM -0500, Anthony Liguori wrote: > Michal Privoznik writes: > > > [CC'ing qemu-devel list] > > On 09.08.2013 15:17, Daniel P. Berrange wrote: > >> On Fri, Aug 09, 2013 at 07:13:58AM -0600, Eric Blake wrote: > >>> On

Re: [Qemu-devel] [libvirt] Configure virtio-scsi options via libvirt

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:24:54AM +0200, Ján Tomko wrote: > On 05/07/2014 01:13 AM, Mike Perez wrote: > > Hi everyone, > > > > I would like be able to configure virtio-scsi options num_queues, > > max_sectors, > > and cmd_per_lun via libvirt. Are there any plans to have this support? > > > > n

Re: [Qemu-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-19 Thread Daniel P. Berrange
On Mon, May 19, 2014 at 03:50:31PM +0200, Gerd Hoffmann wrote: > Hi, > > > > Yes, -vga, -net nic, -drive if=scsi (maybe more) can internally create > > > pci devices > > > with auto slot assignment, which will occupy slot 2 indeed. > > > Use -device instead to create the devices. > > > > > >

Re: [Qemu-devel] [libvirt] [PATCHv2 3/4] qemu: fix RTC_CHANGE event for

2014-05-23 Thread Daniel P. Berrange
On Fri, May 23, 2014 at 10:48:18AM -0300, Marcelo Tosatti wrote: > On Fri, May 23, 2014 at 03:35:19PM +0200, Markus Armbruster wrote: > > Luiz Capitulino writes: > > > > > On Fri, 23 May 2014 00:50:38 -0300 > > > Marcelo Tosatti wrote: > > > > > >> > Then the guest triggers an RTC update, so qem

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-14 Thread Daniel P. Berrange
On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: > Hi,all > > I was trying to use hugepage with VM and found that the hugepage not freed > when close VM. > > > 1.Before start VM the /proc/meminfo is: > AnonHugePages:124928 kB > HugePages_Total:4096 > HugePages_Free: 3072

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-15 Thread Daniel P. Berrange
On Tue, Oct 14, 2014 at 07:28:39PM +0300, Michael S. Tsirkin wrote: > On Tue, Oct 14, 2014 at 01:08:15PM +0100, Daniel P. Berrange wrote: > > On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: > > > Hi,all > > > > > > I was trying to use hugepage wit

Re: [Qemu-devel] [PATCH 6/6] vnc: track & limit connections

2014-10-15 Thread Daniel P. Berrange
On Wed, Oct 15, 2014 at 02:19:45PM +0200, Gerd Hoffmann wrote: > Also track the number of connections in "connecting" and "shared" state > (additionally to "exclusive" state). Apply a configurable limit to > these connections. > > The logic to apply the limit to connections in "shared" state is p

Re: [Qemu-devel] [PATCH 0/6] vnc: add support for multiple vnc server instances.

2014-10-15 Thread Daniel P. Berrange
On Wed, Oct 15, 2014 at 02:19:39PM +0200, Gerd Hoffmann wrote: > Hi, > > This patch series adds support for multiple vnc server instances to > qemu. This comes handy in multiseat configurations as you can have > one vnc server for each set then. > > Some cleanups along the way (use QemuOpts).

<    1   2   3   4   5   6   7   8   9   10   >