Re: [Qemu-devel] [qemu-devel][libvirt] Default machine type setting for ppc64

2013-05-21 Thread Daniel P. Berrange
On Tue, May 21, 2013 at 09:31:26AM +0100, Peter Maydell wrote: On 21 May 2013 09:19, Li Zhang zhlci...@gmail.com wrote: We encounter this problem in openstack which always use default machine type. Currently, QEMU sets mac99 as default setting for ppc64 but it doesn't work on our platform

Re: [Qemu-devel] [qemu-devel][libvirt] Default machine type setting for ppc64

2013-05-21 Thread Daniel P. Berrange
On Tue, May 21, 2013 at 05:02:51PM +0800, Li Zhang wrote: On 2013年05月21日 16:45, Peter Maydell wrote: On 21 May 2013 09:39, Daniel P. Berrange berra...@redhat.com wrote: Libvirt has always had support for specifying what machine type to use. This discussion is simply about what machine type

Re: [Qemu-devel] [qemu-devel][libvirt] Default machine type setting for ppc64

2013-05-21 Thread Daniel P. Berrange
On Tue, May 21, 2013 at 07:55:27PM +1000, Paul Mackerras wrote: On Tue, May 21, 2013 at 09:39:53AM +0100, Daniel P. Berrange wrote: On Tue, May 21, 2013 at 09:31:26AM +0100, Peter Maydell wrote: On 21 May 2013 09:19, Li Zhang zhlci...@gmail.com wrote: We encounter this problem

Re: [Qemu-devel] [libvirt] [qemu-devel] Default machine type setting for ppc64

2013-05-21 Thread Daniel P. Berrange
On Tue, May 21, 2013 at 11:12:26AM -0600, Eric Blake wrote: On 05/21/2013 10:42 AM, Anthony Liguori wrote: Perhaps the right thing to do for OpenStack is to allow for a user specified configuration file to select things like the default hardware models/machine types? Then this could become

Re: [Qemu-devel] [PATCH v5] net: add support of mac-programming over macvtap in QEMU side

2013-06-05 Thread Daniel P. Berrange
On Wed, Jun 05, 2013 at 06:42:13PM +0800, Amos Kong wrote: Currently macvtap based macvlan device is working in promiscuous mode, we want to implement mac-programming over macvtap through Libvirt for better performance. Design: QEMU notifies Libvirt when rx-filter config is changed in

Re: [Qemu-devel] qemu, numa: non-contiguous cpusets

2013-09-30 Thread Daniel P. Berrange
On Sun, Sep 29, 2013 at 05:10:44PM +0200, Borislav Petkov wrote: Btw, while I got your attention, on a not-really related topic: how do we feel about adding support for specifying a non-contiguous set of cpus for a numa node in qemu with the -numa option? I.e., like this, for example:

[Qemu-devel] [PATCH] hw/9pfs: Fix errno value for xattr functions

2013-10-01 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com If there is no operation driver for the xattr type the functions return '-1' and set errno to '-EOPNOTSUPP'. When the calling code sets 'ret = -errno' this turns into a large positive number. In Linux 3.11, the kernel has switched to using 9p version

Re: [Qemu-devel] [Spice-devel] Current qemu-master hangs when used with qxl + linux guest

2013-10-08 Thread Daniel P. Berrange
On Tue, Oct 08, 2013 at 04:27:38PM +0200, Hans de Goede wrote: Hi All, I'm having this weird problem with qemu master + spice/qxl using guests. As soon as the guest starts Xorg, I get the following message from qemu: main-loop: WARNING: I/O thread spun for 1000 iterations And from then

Re: [Qemu-devel] [PATCH 1.7] monitor: eliminate monitor_event_state_lock

2013-10-16 Thread Daniel P. Berrange
On Wed, Oct 16, 2013 at 07:17:08PM +0200, Paolo Bonzini wrote: This lock does not protect anything that the BQL does not already protect. Furthermore, with -nodefaults and no monitor, the mutex is not initialized but monitor_protocol_event_queue is called anyway, which causes a crash under

Re: [Qemu-devel] Prohibit Windows from running in QEMU

2013-10-29 Thread Daniel P. Berrange
On Tue, Oct 29, 2013 at 10:48:07AM +0100, Peter Lieven wrote: Hi all, this question might seem a bit weird, but does anyone see a good way to avoid that Windows is able to boot inside qemu? We have defined several profiles for different operation systems and I want to avoid that someone

Re: [Qemu-devel] [PATCH] hw/9pfs: fix P9_STATS_GEN handling

2013-10-30 Thread Daniel P. Berrange
valid client use-cases, like chdir(2) to non-readable directory with execution bit set. The patch fixes these issues and cleanup code a bit. Signed-off-by: Kirill A. Shutemov kir...@shutemov.name Reviewed-by: Daniel P. Berrange berra...@redhat.com Daniel -- |: http://berrange.com -o

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

Re: [Qemu-devel] [PATCH v6 1/8] make.rule: fix $(obj) to a real relative path

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:34:01PM +0800, Fam Zheng wrote: Makefile.target includes rule.mak and unnested common-obj-y, then prefix them with '../', this will ignore object specific QEMU_CFLAGS in subdir Makefile.objs: $(obj)/curl.o: QEMU_CFLAGS += $(CURL_CFLAGS) Because $(obj) here

Re: [Qemu-devel] [PATCH v6 4/8] module: implement module loading function

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:34:04PM +0800, Fam Zheng wrote: Added three types of modules: typedef enum { MODULE_LOAD_BLOCK = 0, MODULE_LOAD_UI, MODULE_LOAD_NET, MODULE_LOAD_MAX, } module_load_type; and their loading function: void

Re: [Qemu-devel] [PATCH v6 8/8] block: convert block drivers linked with libs to modules

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:34:08PM +0800, Fam Zheng wrote: The converted block drivers are: curl iscsi rbd ssh glusterfs no longer adds flags and libs for them to global variables, instead create config-host.mak variables like FOO_CFLAGS and FOO_LIBS, which is used

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 12:45:54PM -0400, Corey Bryant wrote: On 09/06/2013 03:21 PM, Eduardo Otubo wrote: New command line options for the seccomp blacklist feature: $ qemu -sandbox on[,strict=on|off] The strict parameter will turn on or off the new system call blacklist I

Re: [Qemu-devel] [PATCH v6 4/8] module: implement module loading function

2013-09-12 Thread Daniel P. Berrange
On Thu, Sep 12, 2013 at 09:36:43AM +0400, Michael Tokarev wrote: 12.09.2013 07:02, Fam Zheng wrote. On Wed, 09/11 11:46, Richard Henderson wrote: On 09/11/2013 08:48 AM, Daniel P. Berrange wrote: We know the precise list of valid modules when building QEMU, so IMHO, this should just

Re: [Qemu-devel] [PATCH v6 4/8] module: implement module loading function

2013-09-12 Thread Daniel P. Berrange
On Thu, Sep 12, 2013 at 05:59:30AM -0600, Eric Blake wrote: On 09/11/2013 11:36 PM, Michael Tokarev wrote: A solution which I proposed at the very beginning -- to export a hashed init function from modules, and call it from the main executable. Like, instead of, say, qemu_module_init(),

Re: [Qemu-devel] [PATCH v7 5/8] module: implement module loading function

2013-09-12 Thread Daniel P. Berrange
On Thu, Sep 12, 2013 at 03:04:56PM +0800, Fam Zheng wrote: Added three types of modules: typedef enum { MODULE_LOAD_BLOCK = 0, MODULE_LOAD_UI, MODULE_LOAD_NET, MODULE_LOAD_MAX, } module_load_type; and their loading function: void

Re: [Qemu-devel] [PATCH v7 6/8] Makefile: install modules with make install

2013-09-12 Thread Daniel P. Berrange
On Thu, Sep 12, 2013 at 03:04:57PM +0800, Fam Zheng wrote: Install all the subdirs for modules under configure option moddir. Signed-off-by: Fam Zheng f...@redhat.com --- Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index ef76967..00c2a52 100644

Re: [Qemu-devel] [PATCH v8 6/9] module: add configurable module whitelist

2013-09-13 Thread Daniel P. Berrange
On Fri, Sep 13, 2013 at 04:38:51PM +0800, Fam Zheng wrote: Accept configure option --enable-modules=L, to restrict qemu to only load whitelisted modules. Signed-off-by: Fam Zheng f...@redhat.com --- configure | 12 +++- rules.mak | 7 ++-

Re: [Qemu-devel] [PATCH v9 5/8] module: implement module loading

2013-09-13 Thread Daniel P. Berrange
On Fri, Sep 13, 2013 at 05:59:13PM +0800, Fam Zheng wrote: +void module_load(module_load_type type) +{ +#ifdef CONFIG_MODULES +const char *path; +char *fname = NULL; +const char **mp; +const char *module_whitelist[] = { +CONFIG_MODULE_WHITELIST +}; + +if

Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 02:50:24PM +0800, Fam Zheng wrote: Added three types of modules: typedef enum { MODULE_LOAD_BLOCK = 0, MODULE_LOAD_UI, MODULE_LOAD_NET, MODULE_LOAD_MAX, } module_load_type; and their loading function: void

Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 12:09:47PM +0200, Paolo Bonzini wrote: Il 16/09/2013 11:51, Fam Zheng ha scritto: On Mon, 09/16 11:44, Paolo Bonzini wrote: Il 16/09/2013 10:59, Daniel P. Berrange ha scritto: The init function of dynamic module is no longer with __attribute__((constructor

Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 12:18:54PM +0200, Paolo Bonzini wrote: Il 16/09/2013 12:14, Daniel P. Berrange ha scritto: On Mon, Sep 16, 2013 at 12:09:47PM +0200, Paolo Bonzini wrote: Il 16/09/2013 11:51, Fam Zheng ha scritto: On Mon, 09/16 11:44, Paolo Bonzini wrote: Il 16/09/2013 10:59

Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 12:00:47PM +0100, Alex Bligh wrote: However, even if you don't use weak symbols, we could simply dlopen() a fixed list of modules known at compile time from a single directory (because we also know at compile which executable needs what, e.g. that qemu-img doesn't

Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 02:50:24PM +0800, Fam Zheng wrote: Added three types of modules: typedef enum { MODULE_LOAD_BLOCK = 0, MODULE_LOAD_UI, MODULE_LOAD_NET, MODULE_LOAD_MAX, } module_load_type; and their loading function: void

Re: [Qemu-devel] [PATCH RESEND] ivshmem: allow the sharing of hugepages

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 02:56:15PM +0200, Damien Millescamps wrote: This patch permits to share memory areas that do not specifically belong to /dev/shm. In such case, the file must be already present when launching qemu. A use case for this patch is sharing huge pages available through a

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-17 Thread Daniel P. Berrange
On Tue, Sep 17, 2013 at 10:01:23AM -0300, Eduardo Otubo wrote: On 09/11/2013 01:49 PM, Daniel P. Berrange wrote: On Wed, Sep 11, 2013 at 12:45:54PM -0400, Corey Bryant wrote: On 09/06/2013 03:21 PM, Eduardo Otubo wrote: New command line options for the seccomp blacklist feature

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-18 Thread Daniel P. Berrange
On Tue, Sep 17, 2013 at 02:14:25PM -0300, Eduardo Otubo wrote: On 09/17/2013 11:43 AM, Paul Moore wrote: On Tuesday, September 17, 2013 02:06:06 PM Daniel P. Berrange wrote: On Tue, Sep 17, 2013 at 10:01:23AM -0300, Eduardo Otubo wrote: Paul, what exactly are you planning to add

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-18 Thread Daniel P. Berrange
On Tue, Sep 17, 2013 at 03:17:28PM -0400, Corey Bryant wrote: On 09/17/2013 01:14 PM, Eduardo Otubo wrote: On 09/17/2013 11:43 AM, Paul Moore wrote: On Tuesday, September 17, 2013 02:06:06 PM Daniel P. Berrange wrote: On Tue, Sep 17, 2013 at 10:01:23AM -0300, Eduardo Otubo wrote

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-18 Thread Daniel P. Berrange
On Wed, Sep 18, 2013 at 11:53:09AM -0400, Paul Moore wrote: On Wednesday, September 18, 2013 08:38:17 AM Daniel P. Berrange wrote: Libvirt does not want to be in the business of creating seccomp syscall filters for QEMU. As mentioned before, IMHO that places an unacceptable burden

Re: [Qemu-devel] [PATCHv2 2/3] seccomp: adding command line support for blacklist

2013-09-18 Thread Daniel P. Berrange
On Wed, Sep 18, 2013 at 12:19:44PM -0400, Paul Moore wrote: On Wednesday, September 18, 2013 04:59:10 PM Daniel P. Berrange wrote: On Wed, Sep 18, 2013 at 11:53:09AM -0400, Paul Moore wrote: On Wednesday, September 18, 2013 08:38:17 AM Daniel P. Berrange wrote: Libvirt does not want

Re: [Qemu-devel] Merging the quorum block driver

2013-09-19 Thread Daniel P. Berrange
On Thu, Sep 19, 2013 at 08:51:39AM -0600, Eric Blake wrote: On 09/19/2013 07:21 AM, Kevin Wolf wrote: I was thinking more along the lines of: -drive if=none,file.driver=quorum,format=raw,\ file.children[0].file.filename=/nfs1/test.qcow2, \ Note that this requires

Re: [Qemu-devel] [RFC PATCH v1 1/2] gluster: Use pkg-config to configure GlusterFS block driver

2013-07-23 Thread Daniel P. Berrange
On Fri, Jul 12, 2013 at 12:28:54PM +0530, Bharata B Rao wrote: gluster: Use pkg-config to configure GlusterFS block driver Use pkg-config to determine the version and library dependency for GlusterFS block driver. Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com --- configure |

Re: [Qemu-devel] [RFC PATCH v1 1/2] gluster: Use pkg-config to configure GlusterFS block driver

2013-07-23 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 05:02:20AM -0700, Anand Avati wrote: On 7/23/13 4:57 AM, Daniel P. Berrange wrote: On Fri, Jul 12, 2013 at 12:28:54PM +0530, Bharata B Rao wrote: gluster: Use pkg-config to configure GlusterFS block driver Use pkg-config to determine the version and library dependency

Re: [Qemu-devel] [RFC PATCH v1 1/2] gluster: Use pkg-config to configure GlusterFS block driver

2013-07-23 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 05:37:54PM +0530, Kaleb KEITHLEY wrote: On 07/23/2013 05:32 PM, Anand Avati wrote: On 7/23/13 4:57 AM, Daniel P. Berrange wrote: On Fri, Jul 12, 2013 at 12:28:54PM +0530, Bharata B Rao wrote: gluster: Use pkg-config to configure GlusterFS block driver Use pkg-config

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

2013-07-23 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 02:47:06PM +0200, Benoît Canet wrote: Hi, I have some budget to improve QCOW2's cryptography. My main concern is that the QCOW2 image crypto key is passed in clear text. That is only a problem if someone can sniff the communications channel used by the monitor

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

2013-07-23 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 05:38:00PM +0200, Kevin Wolf wrote: Am 23.07.2013 um 17:22 hat Stefan Hajnoczi geschrieben: On Tue, Jul 23, 2013 at 04:40:34PM +0200, Benoît Canet wrote: More generally, QCow2's current encryption support is woefully inadequate from a design POV. If we

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

2013-07-23 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 05:22:47PM +0200, Stefan Hajnoczi wrote: On Tue, Jul 23, 2013 at 04:40:34PM +0200, Benoît Canet wrote: More generally, QCow2's current encryption support is woefully inadequate from a design POV. If we wanted better encryption built-in to QEMU it is best to just

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

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 05:30:22PM +0200, Paolo Bonzini wrote: Il 23/07/2013 17:57, Daniel P. Berrange ha scritto: On Tue, Jul 23, 2013 at 05:38:00PM +0200, Kevin Wolf wrote: Am 23.07.2013 um 17:22 hat Stefan Hajnoczi geschrieben: On Tue, Jul 23, 2013 at 04:40:34PM +0200, Benoît Canet wrote

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

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 05:40:14PM +0200, Paolo Bonzini wrote: Il 24/07/2013 17:33, Daniel P. Berrange ha scritto: One reason that QCow2 is bad, despite using a standard algorithm, is that the user passphrase is directly used encrypt/decrypt the data. Thus a weak passphrase leads to weak

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:11:33PM

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 takes a long

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, this is an additional 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 details

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 pbonz...@redhat.com writes: Il 23/07/2013 17:57, Daniel P. Berrange ha scritto: On Tue, Jul 23, 2013 at 05:38:00PM +0200, Kevin Wolf wrote: Am

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 1.1.1

[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've

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 berra...@redhat.com 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's mach-virt (fully device-tree driven) support

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 berra...@redhat.com wrote: On x86, we've long had versioned machine names, so that we can make changes in future QEMU releases without breaking guest ABI compatibility. AFAICT

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 afaer...@suse.de 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

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 mpriv...@redhat.com 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 08/09/2013 06:56 AM, Michal Privoznik

Re: [Qemu-devel] [PATCH v3 for-1.7] rdma: rename 'x-rdma' = 'rdma'

2013-11-15 Thread Daniel P. Berrange
On Wed, Nov 06, 2013 at 01:59:14PM -0500, mrhi...@linux.vnet.ibm.com wrote: From: Michael R. Hines mrhi...@us.ibm.com As far as we can tell, all known bugs have been fixed: [snip] 3. Libvirt patches are ready [snip] Objections? There was a first round of patches posted to the libvirt

Re: [Qemu-devel] [PATCH v3 for-1.7] rdma: rename 'x-rdma' = 'rdma'

2013-11-16 Thread Daniel P. Berrange
On Fri, Nov 15, 2013 at 12:25:30PM -0700, Eric Blake wrote: On 11/15/2013 10:40 AM, Michael R. Hines wrote: This is unrelated to RDMA - accessing the /dev/infiniband device nodes is already supported by libvirt my modifying the configuration file in /etc and that works just fine.

Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram

2013-11-21 Thread Daniel P. Berrange
On Thu, Nov 21, 2013 at 05:11:23PM +0800, Lei Li wrote: This patch series tries to introduce a mechanism using side channel pipe for RAM via SCM_RIGHTS with unix domain socket protocol migration. This side channel is used for the page flipping by vmsplice, which is the internal mechanism

Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram

2013-11-22 Thread Daniel P. Berrange
On Fri, Nov 22, 2013 at 07:29:05PM +0800, Lei Li wrote: On 11/21/2013 06:19 PM, Daniel P. Berrange wrote: On Thu, Nov 21, 2013 at 05:11:23PM +0800, Lei Li wrote: In discussions about supporting this for libvirt, we were told that when this localhost migration fails, you cannot re-start

Re: [Qemu-devel] [PATCH v3 for-1.7 resend] rdma: rename 'x-rdma' = 'rdma'

2013-11-22 Thread Daniel P. Berrange
On Sat, Nov 23, 2013 at 12:29:51AM +0800, mrhi...@linux.vnet.ibm.com wrote: From: Michael R. Hines mrhi...@us.ibm.com As far as we can tell, all known bugs have been fixed: 3. Libvirt patches are ready Please stop claiming this. A proof of concept was posted and got some review feedback.

Re: [Qemu-devel] [RFC] allow special paths for libusbx

2013-11-27 Thread Daniel P. Berrange
On Wed, Nov 27, 2013 at 11:09:19AM +0100, Erik Rull wrote: Hi all, I don't have libusbx installed on my system but the source package is available and compiled for development. This may also help other users to enable the libusbx support without having it actually installed on the compile

Re: [Qemu-devel] [PATCH] full introspection support for QMP

2013-07-02 Thread Daniel P. Berrange
On Tue, Jul 02, 2013 at 09:28:51AM -0600, Eric Blake wrote: On 07/02/2013 08:51 AM, Anthony Liguori wrote: Amos Kong ak...@redhat.com writes: Introduces new monitor command to query QMP schema information, the return data is a nested dict/list, it contains the useful metadata. we

Re: [Qemu-devel] [libvirt] Bugs filed in the week for Upstream Qemu and Libvirt

2013-07-10 Thread Daniel P. Berrange
On Wed, Jul 10, 2013 at 06:45:08PM +0530, chandrashekar shastri wrote: Hi, Below are bugs filed in this week for Upstream qemu and libvirt: Qemu in Launchpad: https://bugs.launchpad.net/opensuse/+bug/1199416 Hot-add qcow2 [virtio-scsi] devices doesn't work in SlLES-11-SP2guest

Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support

2013-06-18 Thread Daniel P. Berrange
On Tue, Jun 18, 2013 at 02:17:08PM +0200, Laszlo Ersek wrote: On 06/18/13 13:37, Michael Tokarev wrote: Next, and this is the most complex part. The build system for modules, and configuring it. I heard there were plans to use something like kbuild system for that, has anything been

Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support

2013-06-18 Thread Daniel P. Berrange
On Tue, Jun 18, 2013 at 07:42:11AM -0500, Anthony Liguori wrote: Hi, On Tue, Jun 18, 2013 at 6:37 AM, Michael Tokarev m...@tls.msk.ru wrote: Hello. I looked at what's needed to support DSO (dynamic shared objects) in qemu, in order to be able to split functionality into loadable

Re: [Qemu-devel] qemu-img create encryption

2013-06-27 Thread Daniel P. Berrange
On Wed, Jun 26, 2013 at 02:52:51PM -0400, Hamilton, Peter A. wrote: I've been doing some work with qemu-img and encrypted qcow2 images and have noticed that qemu-img create does not prompt for a password to encrypt new images, defaulting (from the documentation I've read) to the empty string as

Re: [Qemu-devel] qemu-img create encryption

2013-06-27 Thread Daniel P. Berrange
On Thu, Jun 27, 2013 at 08:05:38AM -0400, Hamilton, Peter A. wrote: It also means you can't change the password of an existing image - you have to create a new image with a new password re-encrypt the data. Following up on this point, since qemu-img create cannot be used to specify a

Re: [Qemu-devel] [PATCH v4 05/10] qemu-ga: Add configure options to specify path to Windows/VSS SDK

2013-06-28 Thread Daniel P. Berrange
On Tue, Jun 25, 2013 at 01:16:38PM +0200, Laszlo Ersek wrote: On 06/06/13 17:06, Tomoki Sekiyama wrote: To enable VSS support in qemu-ga for Windows, header files included in VSS SDK are required. The VSS support is enabled by the configure option like below: ./configure

Re: [Qemu-devel] [PATCH v4 05/10] qemu-ga: Add configure options to specify path to Windows/VSS SDK

2013-06-28 Thread Daniel P. Berrange
On Fri, Jun 28, 2013 at 12:54:04PM +0200, Paolo Bonzini wrote: Il 28/06/2013 12:43, Daniel P. Berrange ha scritto: On Tue, Jun 25, 2013 at 01:16:38PM +0200, Laszlo Ersek wrote: On 06/06/13 17:06, Tomoki Sekiyama wrote: To enable VSS support in qemu-ga for Windows, header files included

Re: [Qemu-devel] [PATCH v4 05/10] qemu-ga: Add configure options to specify path to Windows/VSS SDK

2013-06-28 Thread Daniel P. Berrange
On Fri, Jun 28, 2013 at 01:18:10PM +0200, Paolo Bonzini wrote: Il 28/06/2013 13:01, Daniel P. Berrange ha scritto: What is the license of the VSS SDK ? In particular is the license compatible with QEMU to allow us to link to it from GPL code ? Doesn't it fall under the operating system

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-11-29 Thread Daniel P. Berrange
On Fri, Nov 29, 2013 at 06:06:13PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li li...@linux.vnet.ibm.com --- migration-local.c | 46 ++ 1 files changed, 46

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-02 Thread Daniel P. Berrange
On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li li...@linux.vnet.ibm.com --- migration-local.c | 46 ++ 1 files changed, 46

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Daniel P. Berrange
On Tue, Dec 03, 2013 at 07:19:40PM +0800, Lei Li wrote: On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li li

Re: [Qemu-devel] [PATCH] seccomp: -sandbox on won't kill Qemu when option not built in

2013-12-09 Thread Daniel P. Berrange
On Mon, Dec 09, 2013 at 03:20:52PM -0200, Eduardo Otubo wrote: This option was requested by virt-test team so they can run tests with Qemu and -sandbox on set without breaking whole test if host doesn't have support for seccomp in kernel. It covers two possibilities: 1) Host kernel support

Re: [Qemu-devel] [PATCH V17 02/11] NUMA: check if the total numa memory size is equal to ram_size

2013-12-11 Thread Daniel P. Berrange
On Tue, Dec 10, 2013 at 05:01:02PM -0200, Eduardo Habkost wrote: On Tue, Dec 10, 2013 at 07:03:50PM +0100, Paolo Bonzini wrote: Il 10/12/2013 14:15, Eduardo Habkost ha scritto: If the total number of the assigned numa nodes memory is not equal to the assigned ram size, it will write the

Re: [Qemu-devel] [PATCHv2] block: add native support for NFS

2013-12-17 Thread Daniel P. Berrange
On Tue, Dec 17, 2013 at 10:15:25AM +0100, Peter Lieven wrote: This patch adds native support for accessing images on NFS shares without the requirement to actually mount the entire NFS share on the host. NFS Images can simply be specified by an url of the form: nfs://host/export/filename

Re: [Qemu-devel] [PATCHv2] block: add native support for NFS

2013-12-18 Thread Daniel P. Berrange
On Wed, Dec 18, 2013 at 12:03:24AM +0100, Peter Lieven wrote: Am 17.12.2013 um 18:32 schrieb Daniel P. Berrange berra...@redhat.com: On Tue, Dec 17, 2013 at 10:15:25AM +0100, Peter Lieven wrote: This patch adds native support for accessing images on NFS shares without

Re: [Qemu-devel] [PATCHv2] block: add native support for NFS

2013-12-18 Thread Daniel P. Berrange
On Wed, Dec 18, 2013 at 12:00:03PM +0200, Orit Wasserman wrote: On 12/18/2013 01:03 AM, Peter Lieven wrote: Am 17.12.2013 um 18:32 schrieb Daniel P. Berrange berra...@redhat.com: On Tue, Dec 17, 2013 at 10:15:25AM +0100, Peter Lieven wrote: This patch adds native support for accessing

Re: [Qemu-devel] [PATCH] qemu-img: set nocow flag to new file

2013-12-18 Thread Daniel P. Berrange
On Wed, Dec 11, 2013 at 09:29:54AM +0100, Stefan Hajnoczi wrote: On Tue, Dec 10, 2013 at 10:23:41PM +, Alex Bennée wrote: stefa...@redhat.com writes: On Mon, Nov 18, 2013 at 12:54:59PM +0800, Chunyan Liu wrote: 2013/11/15 Stefan Hajnoczi stefa...@gmail.com On Thu, Nov

Re: [Qemu-devel] VMware Player

2006-06-14 Thread Daniel P. Berrange
On Wed, Jun 14, 2006 at 12:12:43PM -0400, Joe Lee wrote: You are right, and the idea is that the person have full interaction with the application environment including the underlying LAMP/WAMP stack that has been packaged. Users that want to quickly run and test-drive the appliance may

Re: [Qemu-devel] Doing a Tcl/Tk based frontend

2006-06-15 Thread Daniel P. Berrange
On Thu, Jun 15, 2006 at 05:52:14PM -0500, John Morris wrote: On Thu, 2006-06-15 at 17:29, Oliver Gerlich wrote: If you are familiar with Tcl/Tk, maybe you could give some hints on how to embed the Qemu window into such an app? Embedding the emulator's window might not be the best way to

Re: [Qemu-devel] Doing a Tcl/Tk based frontend

2006-06-15 Thread Daniel P. Berrange
On Fri, Jun 16, 2006 at 01:33:26AM +0200, Oliver Gerlich wrote: Daniel P. Berrange schrieb: On Thu, Jun 15, 2006 at 05:52:14PM -0500, John Morris wrote: With the new VNC server capability there is no need to embed the emulator's existing window. You can just have a GTK/QT widget which acts

Re: [Qemu-devel] QEMU GUI

2006-06-29 Thread Daniel P. Berrange
On Wed, Jun 28, 2006 at 07:03:31PM -0400, Joe Lee wrote: I would be interested in a GUI that is not specific to QEMU. e.g. Xen/VT, Basilisk II, SheepShaver, etc. ;-) Gwenole, can you elaborate more on your comments above. Are your comments referring to having a GUI that can both run and

Re: [Qemu-devel] Re: QEMU GUI-Frontend based on Libvert API

2006-07-23 Thread Daniel P. Berrange
On Fri, Jul 21, 2006 at 02:21:21PM -0500, Anthony Liguori wrote: On Fri, 21 Jul 2006 14:37:10 -0400, Evan Paul wrote: The libVirt project is a community-sponsored project that aims to bring more simplicity and standards to the Linux VM world. At its core, libVirt is a C toolkit that

Re: [Qemu-devel] Re: QEMU GUI-Frontend based on Libvert API

2006-07-24 Thread Daniel P. Berrange
On Sun, Jul 23, 2006 at 11:24:22AM -0400, Evan Paul wrote: Daniel P. Berrange wrote: I'd actually go so far as to say - if you added support for QEMU in libvirt the 'virt-manager' GUI would 'just work' without need for any further coding. This is one of the major points of libvirt - you can

Re: [Qemu-devel] Re: [RFC] qemu-gui based on wxWidgets and libvncclient

2006-10-17 Thread Daniel P. Berrange
On Tue, Oct 17, 2006 at 11:10:00PM +0200, Marc Andr? Tanner wrote: On Sun, 2006-10-15 at 22:56 -0500, Anthony Liguori wrote: Marc André Tanner wrote: Hi, During the last few weeks i was playing around with the idea to implement a GUI for qemu and so this is what i came up with.

[Qemu-devel] Re: [PATCH] Support VNC PointerTypeChange psuedo-encoding

2007-01-07 Thread Daniel P. Berrange
On Fri, Jan 05, 2007 at 09:30:32PM -0600, Anthony Liguori wrote: The following patch adds support to the VNC server for the PointerTypeChange. This is a new encoding I've defined specifically for virtualization. It allows a VNC client to support a server that has a relative mouse (such as

Re: [Qemu-devel] [PATCH] Make removing IOHandlers safe from within an IOHandler

2007-02-24 Thread Daniel P. Berrange
On Sat, Feb 24, 2007 at 11:54:17AM -0600, Anthony Liguori wrote: I was getting random SEGVs when disconnecting from the VNC server. I tracked it down to the fact that if you remove a IOHandler from another IOHandler, all sorts of badness may result as you're removing entries from a linked

Re: [Qemu-devel] PATCH: Secure TLS encrypted authentication for VNC

2007-02-24 Thread Daniel P. Berrange
On Sat, Feb 24, 2007 at 06:57:16PM +, Luke-Jr wrote: On Saturday 24 February 2007 04:54:44 pm Daniel P. Berrange wrote: Having repeatedly said that we should be doing TLS encryption for VNC, I figured I ought to get down implement it. So, in the spirit of 'release early, release often

Re: [Qemu-devel] Re: PATCH: Secure TLS encrypted authentication for VNC

2007-03-01 Thread Daniel P. Berrange
On Wed, Feb 28, 2007 at 09:27:30PM +, S. I. Becker wrote: Daniel P. Berrange wrote: Having repeatedly said that we should be doing TLS encryption for VNC, I figured I ought to get down implement it. So, in the spirit of 'release early, release often', here is the very first cut of my

Re: [Qemu-devel] [PATCH] Add -name option

2007-03-04 Thread Daniel P. Berrange
On Sun, Mar 04, 2007 at 11:11:15AM -0600, Anthony Liguori wrote: Avi Kivity wrote: Anthony Liguori wrote: This option helps differentiate between guests when running more than one instance of QEMU. It adds a string to the SDL window title and to the VNC server title. Having a name

[Qemu-devel] PATCH: Close file descriptors when execing network tap setup script

2007-03-06 Thread Daniel P. Berrange
In the VM initialization, the files corresponding to the virtual disks are opened before the networking is setup. So when the time comes to run the network tap setup script the QEMU process has a bunch of open file handles which are leaked to the networking script. Some of the commands run by the

Re: [Qemu-devel] [PATCH 2/3] vnc: support password expire

2010-10-08 Thread Daniel P. Berrange
On Thu, Oct 07, 2010 at 02:53:05PM -0500, Anthony Liguori wrote: On 10/07/2010 06:15 AM, Gerd Hoffmann wrote: This patch adds support for expiring passwords to vnc. It adds a new lifetime parameter to the vnc_display_password() function, which specifies the number of seconds the new password

[Qemu-devel] Re: [PATCH] net: provide a friendly message when a user passes a bad -net tap, fd=X

2010-10-11 Thread Daniel P. Berrange
On Fri, Oct 08, 2010 at 05:04:56PM -0500, Anthony Liguori wrote: A lot of people copy libvirt's command line from ps -ef and then wonder why the VM isn't working correctly. Let's be kind and tell them what they should do instead. Without this patch, if you run with an invalid -net

Re: [Qemu-devel] Hitting 29 NIC limit

2010-10-14 Thread Daniel P. Berrange
On Thu, Oct 14, 2010 at 02:07:17PM +0200, Avi Kivity wrote: On 10/14/2010 12:54 AM, Anthony Liguori wrote: On 10/13/2010 05:32 PM, Anjali Kulkarni wrote: Hi, Using the legacy way of starting up NICs, I am hitting a limitation after 29 NICs ie no more than 29 are detected (that's

[Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-18 Thread Daniel P. Berrange
* tracetool: Support for generating DTrace/SystemTAP data files Signed-off-by: Daniel P. Berrange berra...@redhat.com --- .gitignore|3 + Makefile | 31 ++ Makefile.objs |4 + tracetool | 175 - 4 files

Re: Testing of russian keymap (was Re: [Qemu-devel] [PATCH] fix '/' and '|' on russian keymap)

2010-10-19 Thread Daniel P. Berrange
On Mon, Oct 18, 2010 at 01:59:15PM -0500, Anthony Liguori wrote: On 10/18/2010 12:30 PM, Oleg Sadov wrote: I don't understand reasons for such locale-default keyboard settings for qemu too, but may be it's useful for someone... -k only exists to deal with crappy VNC clients. If you

Re: [Qemu-devel] Static tracepoint control via trace-event

2010-10-19 Thread Daniel P. Berrange
On Tue, Oct 19, 2010 at 03:08:08PM +0200, Jan Kiszka wrote: Hi Stefan, just had a closer look at qemu's new tracing framework. Looks cool, though it leaves a bit room for improvements. ;) One quirk I stumbled over quickly was the disable tag in trace-events. It confused me first as qemu

Re: [Qemu-devel] Re: Static tracepoint control via trace-event

2010-10-19 Thread Daniel P. Berrange
On Tue, Oct 19, 2010 at 03:46:35PM +0200, Jan Kiszka wrote: Am 19.10.2010 15:30, Stefan Hajnoczi wrote: On Tue, Oct 19, 2010 at 03:08:08PM +0200, Jan Kiszka wrote: One quirk I stumbled over quickly was the disable tag in trace-events. It confused me first as qemu starts without any

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 08:02:07AM -0500, Anthony Liguori wrote: On 10/20/2010 03:21 AM, Alexander Graf wrote: Live snapshots - merge snapshot? - already supported, question about mgmt of snapshot chain - integrate with fsfreeze (and windows alternative) Guest Agent - have one coming

[Qemu-devel] [PATCH v2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Daniel P. Berrange
for DTrace, use trace-dtrace.o generated by 'dtrace' instead * tracetool: Support for generating DTrace/SystemTAP data files Signed-off-by: Daniel P. Berrange berra...@redhat.com --- .gitignore|3 + Makefile | 32 +++ Makefile.objs |4 ++ configure | 12

Re: [Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 02:50:12PM +0100, Stefan Hajnoczi wrote: Please also add dtrace to the ./configure --help output: echo --trace-backend=BTrace backend nop simple ust dtrace I've just sent a v2 that should include all your feedback so far. Regards, Daniel -- |: Red Hat,

  1   2   3   4   5   6   7   8   9   10   >