Re: [Xen-devel] [Qemu-devel] [PATCH v3] xen-disk: use an IOThread per instance

2017-11-08 Thread Daniel P. Berrange
On Wed, Nov 08, 2017 at 05:42:27PM +, Stefan Hajnoczi wrote: > On Tue, Nov 07, 2017 at 05:46:53AM -0500, Paul Durrant wrote: > > This patch allocates an IOThread object for each xen_disk instance and > > sets the AIO context appropriately on connect. This allows processing > > of I/O to proceed

Re: [Xen-devel] [Qemu-devel] [PATCH v2] hw/display/xenfb: Simulate auto-repeat key events

2017-11-02 Thread Daniel P. Berrange
On Thu, Nov 02, 2017 at 05:26:50PM +, Peter Maydell wrote: > On 2 November 2017 at 17:18, Liang Yan wrote: > > New tigervnc changes the way to send long pressed key, > > from "down up down up ..." to "down down ... up", it only > > affects xen pv console mode. I send a patch to latest > > kern

Re: [Xen-devel] [Qemu-devel] [PATCH 7/8] os-posix: Provide new -runasid option

2017-10-09 Thread Daniel P. Berrange
On Mon, Oct 09, 2017 at 04:05:10PM +0100, Ian Jackson wrote: > Markus Armbruster writes ("Re: [Qemu-devel] [PATCH 7/8] os-posix: Provide new > -runasid option"): > > The last thing the QEMU command line needs is more exotic options. Are > > you sure we need a new one here? Can we make existing -

Re: [Xen-devel] [Qemu-devel] [PATCH 0/3 v4] xenfb: Enablement for Windows PV HID frontend

2017-09-29 Thread Daniel P. Berrange
On Fri, Sep 29, 2017 at 12:26:52PM +0200, Gerd Hoffmann wrote: > On Tue, 2017-09-26 at 14:43 +, Owen Smith wrote: > > Improve the input device model in xenfb, by updating the > > Qemu input handlers and adding a feature to allow for > > raw (unscaled) absolute coordinates to be represented. > >

Re: [Xen-devel] [Qemu-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Daniel P. Berrange
On Fri, Jul 28, 2017 at 07:43:59AM -0500, Eric Blake wrote: > On 07/28/2017 07:31 AM, Olaf Hering wrote: > > g_malloc0_n is available since glib-2.24. To allow build with older glib > > versions use the generic g_malloc0, which is already used in many other > > places in the code. > > > > Fixes co

Re: [Xen-devel] [Qemu-devel] [PATCH v2] event: Add source information to SHUTDOWN

2017-04-20 Thread Daniel P. Berrange
On Thu, Apr 20, 2017 at 01:59:29PM +0200, Markus Armbruster wrote: > Eric Blake writes: > > > Libvirt would like to be able to distinguish between a SHUTDOWN > > event triggered solely by guest request and one triggered by a > > SIGTERM or other action on the host. qemu_kill_report() is > > alre

Re: [Xen-devel] [libvirt] Question about hypervisor that are not tristate

2017-01-11 Thread Daniel P. Berrange
On Wed, Jan 11, 2017 at 10:49:48AM -0700, Jim Fehlig wrote: > On 01/06/2017 05:31 PM, Jim Fehlig wrote: > > Adding xen-devel for a question below... > > > Happy new year! > > > > Nearly a year ago I reported an issue with the hypervisor feature on > > Xen > > [1] and am now seeing a similar is

Re: [Xen-devel] [libvirt] Opinions on removing the old, legacy libvirt Xen driver

2016-11-21 Thread Daniel P. Berrange
On Fri, Nov 18, 2016 at 02:25:18PM -0700, Jim Fehlig wrote: > Hi All, > > I briefly mentioned this at an evening event during the KVM Forum / Xen Dev > Summit, but the list is certainly a better place to discuss such a topic. > What do folks think about finally removing the old, legacy, xend-based

Re: [Xen-devel] [Qemu-devel] [PATCH 2/2] xen: add qemu device for each pvusb backend

2016-09-27 Thread Daniel P. Berrange
On Mon, Sep 26, 2016 at 02:43:57PM +0200, Juergen Gross wrote: > In order to be able to specify to which pvusb controller a new pvusb > device should be added we need a qemu device for each pvusb controller > with an associated id. > > Add such a device when a new controller is requested and attac

Re: [Xen-devel] [libvirt] Fixing libvirt's libxl driver breakage -- where to define LIBXL_API_VERSION?

2016-06-27 Thread Daniel P. Berrange
On Mon, Jun 27, 2016 at 05:12:52PM +0100, Ian Jackson wrote: > Daniel P. Berrange writes ("Re: [libvirt] [Xen-devel] Fixing libvirt's libxl > driver breakage -- where to define LIBXL_API_VERSION?"): > > On Mon, Jun 27, 2016 at 04:54:35PM +0100, Ian Jackson wrote:

Re: [Xen-devel] [libvirt] Fixing libvirt's libxl driver breakage -- where to define LIBXL_API_VERSION?

2016-06-27 Thread Daniel P. Berrange
On Mon, Jun 27, 2016 at 04:54:35PM +0100, Ian Jackson wrote: > (Adding Jan Beulich) > > Ian Jackson writes ("Re: [libvirt] [Xen-devel] Fixing libvirt's libxl driver > breakage -- where to define LIBXL_API_VERSION?"): > > It seems that the libvirt LIBXL_API_VERSION is now rather higher, at > > 0x0

Re: [Xen-devel] [libvirt] Questions about virtlogd

2016-06-08 Thread Daniel P. Berrange
On Wed, Jun 08, 2016 at 11:57:45AM +0100, George Dunlap wrote: > > Well we definitely want to make it possible for people to use xl while > still avoiding DoSes. But at the simplest level this could be done by > having qemu's stderr/stdout piped to /dev/null by default, and allowing > an option f

Re: [Xen-devel] [libvirt] Questions about virtlogd

2016-06-08 Thread Daniel P. Berrange
On Wed, Jun 08, 2016 at 10:50:24AM +0100, George Dunlap wrote: > On 07/06/16 16:57, Wei Liu wrote: > >> I must admit I'm not familiar with the division of responsibility > >> for managing QEMU between the Xen provided libxl library(s) and > >> the libvirt libxl driver code. Naively I would expect t

Re: [Xen-devel] [libvirt] Questions about virtlogd

2016-06-07 Thread Daniel P. Berrange
On Tue, Jun 07, 2016 at 01:11:53PM +0100, Wei Liu wrote: > Hello libvirt maintainers, > > Libvirt implements virtlogd in version 1.3 which now handles logging > for QEMU process. I am wondering if it is possible to make it a > separate package and maintain stable interfaces for external users? Ok

Re: [Xen-devel] [libvirt] Request for XEN source code

2016-04-14 Thread Daniel P. Berrange
On Thu, Apr 14, 2016 at 03:58:55PM +0800, Zakirasafi wrote: > Dear all I need XEN hyper-visor source code. Kindly send me This mailing list is for the libvirt project, not the Xen project - libvirt merely uses Xen. Please use the Xen project website http://www.xenproject.org/ to find what you're l

Re: [Xen-devel] [libvirt] Fixing libvirt's libxl driver breakage -- where to define LIBXL_API_VERSION?

2016-04-13 Thread Daniel P. Berrange
On Wed, Apr 13, 2016 at 10:09:16AM +0100, George Dunlap wrote: > On Tue, Apr 12, 2016 at 10:31 PM, Jim Fehlig wrote: > > Wei Liu wrote: > >> Hi libvirt maintainers, > > > > Sorry for the delay. Slowly catching up on mail after vacation... > > > >> > >> Xen's control library libxenlight (libxl) req

Re: [Xen-devel] [libvirt] [PATCH] libxl: libxl_domain_create_restore has an extra argument

2016-04-07 Thread Daniel P. Berrange
On Wed, Apr 06, 2016 at 04:43:07PM -0500, Doug Goldstein wrote: > On 4/5/16 9:20 AM, Wei Liu wrote: > > In the latest libxenlight code, libxl_domain_create_restore accepts a > > new argument. Update libvirt's libxl driver for that. Use the macro > > provided by libxenlight to detect which version s

Re: [Xen-devel] [libvirt] [PATCH 4/4] libxl: add support for rbd qdisk

2016-02-26 Thread Daniel P. Berrange
On Tue, Feb 16, 2016 at 02:45:59PM -0700, Jim Fehlig wrote: > xl/libxl already supports qemu's network-based block backends > such as nbd and rbd. libvirt has supported configuring such > s for long time too. This patch adds support for rbd > disks in the libxl driver by generating a rbd device URL

Re: [Xen-devel] [libvirt] [PATCH 3/4] xenconfig: support xl<->xml conversion of rbd disk devices

2016-02-26 Thread Daniel P. Berrange
On Tue, Feb 16, 2016 at 02:45:58PM -0700, Jim Fehlig wrote: > The target= setting in xl disk configuration can be used to encode > meta info that is meaningful to a backend. Leverage this fact to > support qdisk network disk types such as rbd. E.g. xl disk config > containing > > disk = [ "forma

Re: [Xen-devel] [libvirt] [PATCH 2/4] xenconfig: produce key=value disk config syntax in xl formatter

2016-02-26 Thread Daniel P. Berrange
On Tue, Feb 16, 2016 at 02:45:57PM -0700, Jim Fehlig wrote: > The most formal form of xl disk configuration uses key=value > syntax to define each configuration item, e.g. > > format=raw, vdev=xvda, access=rw, backendtype=phy, target=disksrc > > Change the xl disk formatter to produce this syntax

Re: [Xen-devel] [libvirt] [PATCH 1/4] xenconfig: replace text 'xm' with 'xl' in xlconfigtest

2016-02-26 Thread Daniel P. Berrange
On Tue, Feb 16, 2016 at 02:45:56PM -0700, Jim Fehlig wrote: > While at it, improve a few comments. No functional change. > > Signed-off-by: Jim Fehlig > --- > tests/xlconfigtest.c | 34 +++--- > 1 file changed, 19 insertions(+), 15 deletions(-) ACK Regards, Daniel

Re: [Xen-devel] [Qemu-devel] [PULL v2 44/45] fix MSI injection on Xen

2016-02-12 Thread Daniel P. Berrange
On Sat, Feb 06, 2016 at 09:15:13PM +0200, Michael S. Tsirkin wrote: > From: Stefano Stabellini > > On Xen MSIs can be remapped into pirqs, which are a type of event > channels. It's mostly for the benefit of PCI passthrough devices, to > avoid the overhead of interacting with the emulated lapic.

Re: [Xen-devel] [libvirt] [PATCH LIBVIRT] libxl: Use libxentoollog in preference to libxenctrl if available.

2015-12-14 Thread Daniel P. Berrange
On Thu, Dec 10, 2015 at 11:38:36AM +, Ian Campbell wrote: > Upstream Xen is in the process of splitting the (stable API) xtl_* > interfaces out from the (unstable API) libxenctrl library and into a > new (stable API) libxentoollog. > > In order to be compatible with Xen both before and after t

Re: [Xen-devel] [libvirt] [FOR 1.3.0 PATCH] conf: add net device prefix for Xen

2015-12-08 Thread Daniel P. Berrange
On Mon, Dec 07, 2015 at 10:59:32PM -0700, Jim Fehlig wrote: > On 12/07/2015 11:52 AM, Daniel P. Berrange wrote: > > On Mon, Dec 07, 2015 at 09:42:21AM -0700, Jim Fehlig wrote: > >> In commit d2e5538b1, the libxl driver was changed to copy interface > >> names au

Re: [Xen-devel] [libvirt] [FOR 1.3.0 PATCH] conf: add net device prefix for Xen

2015-12-07 Thread Daniel P. Berrange
On Mon, Dec 07, 2015 at 09:42:21AM -0700, Jim Fehlig wrote: > In commit d2e5538b1, the libxl driver was changed to copy interface > names autogenerated by libxl to the corresponding network def in the > domain's virDomainDef object. The copied name is freed when the domain > transitions to the shut

Re: [Xen-devel] [PATCH LIBVIRT v1 1/2] libxl: Correct value for xendConfigVersion to xen{Parse, Format}ConfigCommon

2015-12-04 Thread Daniel P. Berrange
On Fri, Dec 04, 2015 at 02:19:33PM +, Ian Campbell wrote: > On Fri, 2015-12-04 at 10:01 +0000, Daniel P. Berrange wrote: > > On Thu, Dec 03, 2015 at 11:13:06PM -0700, Jim Fehlig wrote: > > > On 11/26/2015 09:59 AM, Ian Campbell wrote: > > > > libxlConnect

Re: [Xen-devel] [PATCH LIBVIRT v1 1/2] libxl: Correct value for xendConfigVersion to xen{Parse, Format}ConfigCommon

2015-12-04 Thread Daniel P. Berrange
On Thu, Dec 03, 2015 at 11:13:06PM -0700, Jim Fehlig wrote: > On 11/26/2015 09:59 AM, Ian Campbell wrote: > > libxlConnectDomainXMLFromNative calls both xenParseXM and xenParseXL > > with cfg->verInfo->xen_version_major, however AFAICT they both (either > > inherently, or through there use of xenPa

Re: [Xen-devel] [libvirt] [PATCH] libxl: open libxl log stream with libvirtd log_level

2015-11-11 Thread Daniel P. Berrange
On Wed, Nov 11, 2015 at 04:57:59PM +0100, Marek Marczykowski-Górecki wrote: > On Tue, Sep 15, 2015 at 11:21:00AM -0600, Jim Fehlig wrote: > > Daniel P. Berrange wrote: > > > On Tue, Sep 15, 2015 at 10:57:50AM -0600, Jim Fehlig wrote: > > > > > >> Daniel P.

Re: [Xen-devel] [libvirt] [PATCH] libxl: open libxl log stream with libvirtd log_level

2015-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2015 at 10:57:50AM -0600, Jim Fehlig wrote: > Daniel P. Berrange wrote: > > On Tue, Sep 15, 2015 at 09:26:23AM -0600, Jim Fehlig wrote: > > > >> Instead of a hardcoded DEBUG log level, use the overall > >> daemon log level specified in libv

Re: [Xen-devel] [libvirt] [PATCH] libxl: open libxl log stream with libvirtd log_level

2015-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2015 at 09:26:23AM -0600, Jim Fehlig wrote: > Instead of a hardcoded DEBUG log level, use the overall > daemon log level specified in libvirtd.conf when opening > a log stream with libxl. libxl is very verbose when DEBUG > log level is set, resulting in huge log files that can > pot

Re: [Xen-devel] [Qemu-devel] [edk2] EDK II & GPL - Re: OVMF BoF @ KVM Forum 2015

2015-09-10 Thread Daniel P. Berrange
On Wed, Sep 09, 2015 at 05:41:59PM -0700, Jordan Justen wrote: > On 2015-09-09 16:05:20, Andrew Fish wrote: > > > > > On Sep 9, 2015, at 3:24 PM, Jordan Justen > > > wrot> > > FWIW, I don't mind if the consensus is that GplDriverPkg must > > > live in > > > a separate repo. But, it would be nic

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-14 Thread Daniel P. Berrange
On Thu, May 14, 2015 at 02:45:30PM +0200, Markus Armbruster wrote: > Paolo Bonzini writes: > > > On 14/05/2015 14:02, Markus Armbruster wrote: > >> It should certainly be off for pc-q35-2.4 and newer. Real Q35 boards > >> commonly don't have an FDC (depends on the Super I/O chip used). > >>

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-14 Thread Daniel P. Berrange
On Thu, May 14, 2015 at 03:25:39PM +0200, Sander Eikelenboom wrote: > > Thursday, May 14, 2015, 2:53:17 PM, you wrote: > > > > > On 14/05/2015 14:45, Markus Armbruster wrote: > >> Paolo Bonzini writes: > >> > >>> On 14/05/2015 14:02, Markus Armbruster wrote: > It should certainly be of

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-14 Thread Daniel P. Berrange
On Thu, May 14, 2015 at 12:12:52PM +0100, Stefano Stabellini wrote: > On Wed, 13 May 2015, John Snow wrote: > > On 05/13/2015 02:15 PM, Stefano Stabellini wrote: > > > On Wed, 13 May 2015, Daniel P. Berrange wrote: > > >> On Wed, May 13, 2015 at 06:29:46PM +

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Daniel P. Berrange
On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: > Do not emulate a floppy drive if no drives are supposed to be present. > > This fixes the behavior of -nodefaults, that should remove the floppy > drive (see docs/qdev-device-use.txt:Default Devices), but actually > doesn't. Te

Re: [Xen-devel] [libvirt] [libvirt test] 50401: regressions - FAIL

2015-04-15 Thread Daniel P. Berrange
On Wed, Apr 15, 2015 at 11:17:29AM +0100, Ian Campbell wrote: > On Tue, 2015-04-14 at 10:37 +0100, Daniel P. Berrange wrote: > > On Tue, Apr 14, 2015 at 10:33:45AM +0100, Ian Campbell wrote: > > > On Tue, 2015-04-14 at 02:27 +, osstest service user wrote: > > >

Re: [Xen-devel] [libvirt] [libvirt test] 50401: regressions - FAIL

2015-04-14 Thread Daniel P. Berrange
On Tue, Apr 14, 2015 at 10:33:45AM +0100, Ian Campbell wrote: > On Tue, 2015-04-14 at 02:27 +, osstest service user wrote: > > flight 50401 libvirt real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/50401/ > > > > Regressions :-( > > > > Tests which did not succeed and are block

Re: [Xen-devel] [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-25 Thread Daniel P. Berrange
On Wed, Feb 25, 2015 at 03:13:36PM +, Ian Campbell wrote: > On Wed, 2015-02-25 at 15:03 +0000, Daniel P. Berrange wrote: > > FWIW, this code in openstack was only added for benefit of s390 > > architecture where apparently it is common to have hosts with > > CPUs offlined

Re: [Xen-devel] [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-25 Thread Daniel P. Berrange
On Wed, Feb 25, 2015 at 10:24:37AM +0100, Dario Faggioli wrote: > On Tue, 2015-02-24 at 13:10 +, Ian Campbell wrote: > > On Tue, 2015-02-24 at 12:41 +, Anthony PERARD wrote: > > > > What libxl API those provide this information, if it exist? > > > > > > I found libxl_get_online_cpus() but

Re: [Xen-devel] [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-25 Thread Daniel P. Berrange
On Tue, Feb 24, 2015 at 03:00:16PM +, Anthony PERARD wrote: > On Tue, Feb 24, 2015 at 01:22:19PM +0000, Daniel P. Berrange wrote: > > On Tue, Feb 24, 2015 at 01:15:57PM +, Anthony PERARD wrote: > > > On Tue, Feb 24, 2015 at 12:46:44PM +, Daniel P. Berrange wrote: >

Re: [Xen-devel] [libvirt] [PATCH v3 1/3] Add virXMLValidateAgainstSchema helper method

2015-01-16 Thread Daniel P. Berrange
On Fri, Jan 16, 2015 at 02:47:42PM +, Ian Campbell wrote: > On Fri, 2015-01-16 at 14:19 +0000, Daniel P. Berrange wrote: > > On Fri, Jan 16, 2015 at 01:58:27PM +, Ian Campbell wrote: > > > Hello, > > > > > > On Tue, 2015-01-13 at 17:00 +, Daniel P

Re: [Xen-devel] [libvirt] [PATCH v3 1/3] Add virXMLValidateAgainstSchema helper method

2015-01-16 Thread Daniel P. Berrange
On Fri, Jan 16, 2015 at 01:58:27PM +, Ian Campbell wrote: > Hello, > > On Tue, 2015-01-13 at 17:00 +0000, Daniel P. Berrange wrote: > > +# define VIR_WARNINGS_NO_PRINTF \ > > +_Pragma ("GCC diagnostic push") \ > > +_Pragma ("GCC diagn

Re: [Xen-devel] [libvirt] [PATCH RFC] libxl: fix paths in capability string

2015-01-06 Thread Daniel P. Berrange
On Tue, Jan 06, 2015 at 10:28:13AM -0700, Eric Blake wrote: > On 01/06/2015 09:12 AM, Wei Liu wrote: > > Currently libxl driver hardcodes some paths in its capability string, > > which might not be the correct paths. > > > > This patch introduces --with-libxl-prefix, so that user can specify the >