Re: [libvirt] [PATCH v3 REBASE 2 00/12] hostdev: handle usb detach/attach on node

2019-11-06 Thread Dave Allan
[ bah, cc'ing the list this time ] On Tue, Nov 05, 2019 at 03:21:04PM -0500, Dave Allan wrote: On Fri, Nov 01, 2019 at 07:48:46AM +, Nikolay Shirokovskiy wrote: On 31.10.2019 19:50, Dave Allan wrote: On Thu, Oct 31, 2019 at 10:40:42AM +, Nikolay Shirokovskiy wrote: On 30.10.2019

Re: [libvirt] [PATCH v3 REBASE 2 00/12] hostdev: handle usb detach/attach on node

2019-11-06 Thread Dave Allan
On Tue, Nov 05, 2019 at 03:54:09PM +0100, Jiri Denemark wrote: Hi Dave, Time flies, doesn't it? :-) My reply is not related to this patch series, but rather your use case... On Thu, Oct 31, 2019 at 12:50:28 -0400, Dave Allan wrote: My usecase is that I'm flashing the USB device

Re: [libvirt] [PATCH v3 REBASE 2 00/12] hostdev: handle usb detach/attach on node

2019-10-31 Thread Dave Allan
On Thu, Oct 31, 2019 at 10:40:42AM +, Nikolay Shirokovskiy wrote: On 30.10.2019 23:21, Dave Allan wrote: On Tue, Oct 29, 2019 at 11:17:51AM +0300, Nikolay Shirokovskiy wrote: Diff to v2[1] version: - add 'replug' attribute for hostdev element to allow replug semantics - avoid accuiring

Re: [libvirt] [PATCH v3 REBASE 2 00/12] hostdev: handle usb detach/attach on node

2019-10-30 Thread Dave Allan
On Tue, Oct 29, 2019 at 11:17:51AM +0300, Nikolay Shirokovskiy wrote: Diff to v2[1] version: - add 'replug' attribute for hostdev element to allow replug semantics - avoid accuiring domain lock in event loop thread on udev events as suggested by Peter - nit picks after review by Daniel Henrique

Re: [libvirt] [PATCH v3 REBASE 00/12] hostdev: handle usb detach/attach on node

2019-10-29 Thread Dave Allan
On Tue, Oct 29, 2019 at 08:20:04AM +, Nikolay Shirokovskiy wrote: On 28.10.2019 13:11, Dave Allan wrote: Hi Nikolay, I tried to apply these patches both to the current git head and also the git head as of Oct 15 when you posted them, and neither applied cleanly.  Can you confirm

Re: [libvirt] [PATCH v3 REBASE 00/12] hostdev: handle usb detach/attach on node

2019-10-28 Thread Dave Allan
Hi Nikolay, I tried to apply these patches both to the current git head and also the git head as of Oct 15 when you posted them, and neither applied cleanly. Can you confirm that they apply cleanly for you to the current tree? Thanks, Dave On Mon, Oct 28, 2019 at 08:43:55AM +, Nikolay

Re: [libvirt] [PATCH] Fix vlan ID detection in udev interface driver

2014-04-25 Thread Dave Allan
On Thu, Apr 24, 2014 at 03:19:45PM +0200, Ján Tomko wrote: Instead of guessing it from the interface name, look into /proc/net/vlan/interface. This works for devices not named real_device.vlan ID, avoiding an error flood when virt-manager keeps asking about them every second:

Re: [libvirt] [PATCH] Fix vlan ID detection in udev interface driver

2014-04-25 Thread Dave Allan
On Fri, Apr 25, 2014 at 08:28:32PM +0300, Laine Stump wrote: On 04/25/2014 06:21 PM, Dave Allan wrote: On Thu, Apr 24, 2014 at 03:19:45PM +0200, Ján Tomko wrote: Instead of guessing it from the interface name, look into /proc/net/vlan/interface. This works for devices not named

Re: [libvirt] 1010824 - virsh suspend command should raise error for paused VM

2013-10-07 Thread Dave Allan
On Mon, Oct 07, 2013 at 10:42:47AM +0100, Daniel P. Berrange wrote: On Fri, Oct 04, 2013 at 04:32:54PM -0600, Eric Blake wrote: On 10/04/2013 03:21 PM, Dave Allan wrote: As its summary says, BZ 1010824 requests that virsh suspend should raise error an error when called on a VM that's

[libvirt] 1010824 - virsh suspend command should raise error for paused VM

2013-10-04 Thread Dave Allan
As its summary says, BZ 1010824 requests that virsh suspend should raise error an error when called on a VM that's paused. Is the current behavior correct? Dave -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] libxl: fix libvirtd segfault

2013-08-09 Thread Dave Allan
Functional ack; this patch fixes the crash on my system. On Fri, Aug 09, 2013 at 05:58:45PM -0600, Jim Fehlig wrote: Commit d72ef888 introduced a bug in the libxl driver that will segfault libvirtd if libxl reports an error message, e.g. when attempting to initialize the driver on a non-Xen

Re: [libvirt] libvirt and python3

2013-07-19 Thread Dave Allan
On Fri, Jul 19, 2013 at 10:01:15AM +0100, Daniel P. Berrange wrote: On Thu, Jul 18, 2013 at 02:13:59PM -0400, Dave Allan wrote: I've seen a bunch of interest in python3 [1,2,3]. Has anybody started thinking about python3 bindings for libvirt? I'm not going to do any work on it, but I have

Re: [libvirt] [PATCH] util: use string libvirt to prefix error message instead of libvir

2013-03-04 Thread Dave Allan
On Mon, Mar 04, 2013 at 08:54:10PM +0800, Guannan Ren wrote: BZ:https://bugzilla.redhat.com/show_bug.cgi?id=912021 Without error handler set, virDefaultErrorFunc will be called, the error message is prefixed with libvir:. It become a little better by using prefix libvirt: when working with

Re: [libvirt] [PATCH v2 1/8] hellolibvirt: Update hellolibvirt example

2013-02-20 Thread Dave Allan
On Wed, Feb 20, 2013 at 12:38:38PM -0500, John Ferlan wrote: Update the code to be more in line with how code looks elsewhere in libvirt. Allow listing of domains, networks, storage pools, and network interfaces. I like the changes to make the style more in line with the rest of the codebase,

Re: [libvirt] [PATCH 1/8] hellolibvirt: Update hellolibvirt example

2013-02-19 Thread Dave Allan
On Tue, Feb 19, 2013 at 11:26:34AM +0100, Michal Privoznik wrote: On 19.02.2013 03:14, John Ferlan wrote: Add a list of active domains, list of active/inactive networks, and list of active/inactive storage pools --- examples/hellolibvirt/hellolibvirt.c | 201

Re: [libvirt] [PATCH 1/8] hellolibvirt: Update hellolibvirt example

2013-02-19 Thread Dave Allan
On Tue, Feb 19, 2013 at 11:26:34AM +0100, Michal Privoznik wrote: On 19.02.2013 03:14, John Ferlan wrote: Add a list of active domains, list of active/inactive networks, and list of active/inactive storage pools --- examples/hellolibvirt/hellolibvirt.c | 201

Re: [libvirt] [PATCHv2 0/3] Colorize HTML documentation

2013-01-17 Thread Dave Allan
On Thu, Jan 17, 2013 at 04:00:09PM +0100, Claudio Bley wrote: Hi. In version 2 of this series I'm trying to fix some of those issues Jiri had with the initial version. For those of us who are only tangentially following along, can you post a screenshot of something that doesn't render nicely

Re: [libvirt] [PATCHv2 0/3] Colorize HTML documentation

2013-01-17 Thread Dave Allan
On Thu, Jan 17, 2013 at 08:16:53PM +0100, Jiri Denemark wrote: On Thu, Jan 17, 2013 at 13:30:58 -0500, Dave Allan wrote: On Thu, Jan 17, 2013 at 04:00:09PM +0100, Claudio Bley wrote: Hi. In version 2 of this series I'm trying to fix some of those issues Jiri had with the initial

Re: [libvirt] [PATCH] qemu: Relax hard RSS limit

2013-01-08 Thread Dave Allan
On Tue, Jan 08, 2013 at 04:42:00PM +0100, Michal Privoznik wrote: On 08.01.2013 16:24, Daniel P. Berrange wrote: On Tue, Jan 08, 2013 at 10:37:19AM +0100, Michal Privoznik wrote: Currently, if there's no hard memory limit defined for a domain, libvirt tries to calculate one, based on domain

Re: [libvirt] [PATCH] Add RESUME event listener to qemu monitor.

2013-01-08 Thread Dave Allan
On Mon, Jan 07, 2013 at 10:44:41PM +, Daniel P. Berrange wrote: On Mon, Jan 07, 2013 at 04:25:01PM -0500, Andres Lagar-Cavilla wrote: Perform all the appropriate plumbing. When qemu/KVM VMs are paused manually through a monitor not-owned by libvirt, libvirt will think of them as

Re: [libvirt] [PATCH 2/3] add pci-brige device command line for qemu

2013-01-04 Thread Dave Allan
On Fri, Jan 04, 2013 at 11:38:42AM +0800, Osier Yang wrote: On 2013年01月04日 10:28, li guang wrote: 在 2013-01-03四的 16:13 +0100,Ján Tomko写道: On 12/26/12 02:00, liguang wrote: @@ -1801,10 +1803,13 @@ qemuBuildDeviceAddressStr(virBufferPtr buf, * When QEMU grows support for 1 PCI

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Dave Allan
On Tue, Nov 20, 2012 at 10:17:11AM +, Daniel P. Berrange wrote: On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU emulated disk only at this

Re: [libvirt] [PATCH] virsh: add aliases 'boot', 'stop', and 'restart'

2012-11-08 Thread Dave Allan
On Thu, Nov 08, 2012 at 03:24:07PM +0100, Daniel P. Berrange wrote: On Mon, Nov 05, 2012 at 12:59:16PM -0700, Eric Blake wrote: https://bugzilla.redhat.com/show_bug.cgi?id=873344 suggested that the grouping 'boot', 'shutdown', 'reboot'; as well as the grouping 'start', 'stop', 'restart';

Re: [libvirt] [PATCH] qemu: Allow the user to specify vendor and product for disk

2012-11-07 Thread Dave Allan
On Wed, Nov 07, 2012 at 11:24:43PM +0800, Osier Yang wrote: On 2012年11月05日 21:34, Martin Kletzander wrote: On 11/05/2012 08:04 AM, Osier Yang wrote: QEMU supports to set vendor and product strings for disk since 1.2.0 (only scsi-disk, scsi-hd, scsi-cd support it), this patch exposes it with

Re: [libvirt] [PATCH] qemu: Allow the user to specify vendor and product for disk

2012-11-07 Thread Dave Allan
On Thu, Nov 08, 2012 at 09:28:06AM +0800, Osier Yang wrote: On 2012年11月08日 05:04, Dave Allan wrote: On Wed, Nov 07, 2012 at 11:24:43PM +0800, Osier Yang wrote: On 2012年11月05日 21:34, Martin Kletzander wrote: On 11/05/2012 08:04 AM, Osier Yang wrote: QEMU supports to set vendor and product

Re: [libvirt] [PATCH] virsh: add aliases 'boot', 'stop', and 'restart'

2012-11-05 Thread Dave Allan
On Mon, Nov 05, 2012 at 12:59:16PM -0700, Eric Blake wrote: https://bugzilla.redhat.com/show_bug.cgi?id=873344 suggested that the grouping 'boot', 'shutdown', 'reboot'; as well as the grouping 'start', 'stop', 'restart'; might be easier to remember than the current mix of 'start', 'shutdown',

Re: [libvirt] dhcp6, radvd, ip6tables, etc. (update)

2012-11-01 Thread Dave Allan
On Thu, Nov 01, 2012 at 07:25:45AM -0400, Gene Czarcinski wrote: Doing some looking, it appears that RHEL6.3 uses libvirt-0.8.7 and CentOS6.3 uses libvirt-0.9.10. I can see some group wanting to Just for the record, RHEL6.3 uses libvirt-0.9.10. Dave -- libvir-list mailing list

Re: [libvirt] Availability of Release Candidate 3 for 1.0.0

2012-10-31 Thread Dave Allan
On Wed, Oct 31, 2012 at 04:26:54PM +0800, Daniel Veillard wrote: On Tue, Oct 30, 2012 at 10:13:35PM +0100, Guido Günther wrote: Looks good now on the Debian buildds: https://buildd.debian.org/status/package.php?p=libvirtsuite=experimental Great ! I just tagged rc3 in git and

Re: [libvirt] [PATCHv2] xml: print uuids or shell-escaped names in the warning

2012-10-29 Thread Dave Allan
On Mon, Oct 29, 2012 at 11:07:20AM +0100, Peter Krempa wrote: On 10/29/12 10:38, Jiri Denemark wrote: On Thu, Oct 25, 2012 at 16:37:37 +0200, Ján Tomko wrote: In the XML warning, this prints uuids for domain names with special characters in them and shell-escaped names for other elements (like

[libvirt] [jbro...@redhat.com: [Users] oVirt at LinuxCon Europe Next Week]

2012-10-29 Thread Dave Allan
FYI, there's a bunch of oVirt related stuff going on at LinuxCon next week. - Forwarded message from Jason Brooks jbro...@redhat.com - Date: Mon, 29 Oct 2012 14:11:29 -0700 From: Jason Brooks jbro...@redhat.com To: oVirt Mailing List us...@ovirt.org, annou...@ovirt.org Subject: [Users]

Re: [libvirt] [PATCH] virsh: Remove --flags from nodesuspend

2012-10-25 Thread Dave Allan
On Thu, Oct 25, 2012 at 07:16:35AM -0600, Eric Blake wrote: On 10/25/2012 03:03 AM, Michal Privoznik wrote: While I agree that this design is broken I don't think we can do this. Okay, for now we only support 0; but what if in the future we invent a new flag? With current virsh one is

Re: [libvirt] [PATCH] nodeinfo: Fully convert to new virReportError

2012-10-09 Thread Dave Allan
On Tue, Oct 09, 2012 at 03:19:44PM +0200, Michal Privoznik wrote: With our latest s/[a-z]+ReportError/virReportError/ rewrite (47ab34e2) we forgot to update arm part of the code. --- Thanks to my masochist idea of compiling libvirt on my Raspberry PI I've discovered this. Pushing under

Re: [libvirt] [PATCH] virsh: add qemu-monitor-command --pretty

2012-10-08 Thread Dave Allan
On Thu, Oct 04, 2012 at 05:22:20PM -0600, Eric Blake wrote: I was using qemu-monitor-command during development, and found it quite hard to use. Compare the results of this patch on ease of reading: $ virsh qemu-monitor-command dom '{execute:query-version}'

[libvirt] [PATCH 1/1] Add note about numeric domain names to manpage

2012-10-01 Thread Dave Allan
Clarify that domains with numeric names can only be identified by their domain id. --- tools/virsh.pod | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 2120429..e30f1b6 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod

Re: [libvirt] [PATCH V4] implement offline migration

2012-09-05 Thread Dave Allan
On Wed, Sep 05, 2012 at 09:48:22AM +0100, Daniel P. Berrange wrote: On Wed, Sep 05, 2012 at 08:51:05AM +0800, liguang wrote: 在 2012-09-04二的 12:12 +0100,Daniel P. Berrange写道: On Mon, Sep 03, 2012 at 02:23:24PM +0800, liguang wrote: allow migration even domain isn't active by inserting

Re: [libvirt] [PATCH v2] storage: support all file permissions

2012-08-07 Thread Dave Allan
On Tue, Aug 07, 2012 at 10:27:15AM +0200, Ján Tomko wrote: On 08/07/12 07:17, Laine Stump wrote: On 07/26/2012 04:52 AM, Ján Tomko wrote: sticky, setuid and setgid are no longer ignored. I'm always automatically wary of any code that allows setting the suid bit, in case it may allow

Re: [libvirt] libvirt and qemu

2012-07-06 Thread Dave Allan
On Wed, Jul 04, 2012 at 02:43:20PM +0200, mattias wrote: when i do virsh connect qemu:///system i can connect but virsh list dosent show anything Are your VMs running? virsh list will only show running VMs, so show non-running VMs use: virsh list --all Dave my qemu vms are not created

[libvirt] sanlock on F17

2012-06-29 Thread Dave Allan
I just tried to set up sanlock on F17 using the instructions at http://libvirt.org/locking.html, but libvirtd refuses to start with the sanlock error in the logs: Jun 29 19:56:20 nienna sanlock[8423]: 19846 open error -13 /var/lib/libvirt/sanlock/__LIBVIRT__DISKS__ I confirmed that user sanlock

Re: [libvirt] sanlock on F17

2012-06-29 Thread Dave Allan
On Fri, Jun 29, 2012 at 08:06:34PM -0400, Dave Allan wrote: I just tried to set up sanlock on F17 using the instructions at http://libvirt.org/locking.html, but libvirtd refuses to start with the sanlock error in the logs: Jun 29 19:56:20 nienna sanlock[8423]: 19846 open error -13 /var/lib

Re: [libvirt] [PATCH] network_conf: Don't free uninitialized pointers while parsing DNS SRV

2012-06-28 Thread Dave Allan
On Thu, Jun 28, 2012 at 11:58:01PM +0200, Peter Krempa wrote: On 06/28/12 23:52, Eric Blake wrote: On 06/28/2012 03:48 PM, Peter Krempa wrote: If the user specified invalid protocol type in a network's SRV record the error path ended up in freeing uninitialized pointers causing a daemon

Re: [libvirt] [PATCH 1/2] storage: Switch to new def on pool-destroy

2012-06-25 Thread Dave Allan
On Mon, Jun 25, 2012 at 01:13:48PM +0200, Michal Privoznik wrote: On 25.06.2012 12:36, Daniel P. Berrange wrote: On Mon, Jun 25, 2012 at 12:32:47PM +0200, Michal Privoznik wrote: Currently, we share the idea of old new def with domains. Users can *-edit an object (domain, pool) which

Re: [libvirt] [PATCH 0/7] Introduce API for dumping domain IP addresses

2012-06-08 Thread Dave Allan
On Fri, Jun 08, 2012 at 10:04:31AM +0200, Michal Privoznik wrote: This feature has been requested for a very long time. However, we had to wait for guest agent to obtain reliable results as user might create totally different structure of interfaces than seen from outside (e.g. bonding,

Re: [libvirt] Libvirt Support Virtio-serail

2012-06-05 Thread Dave Allan
On Tue, Jun 05, 2012 at 11:08:16AM +, Pankaj Rawat wrote: Hi , I installed fedora17 on my system, the libvirt version is 0.9.11 I configured guest.xml as specified console type='pty' target type='virtio'/ /console console type='pty' target type='virtio'/ /console

Re: [libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-05 Thread Dave Allan
On Tue, Jun 05, 2012 at 02:21:10PM +0800, Royce Lv wrote: Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or root user, but also for unprivileged application such as vdsm, Restrain the rundir only read/search for libvirt prevent comunication with unprivileged

Re: [libvirt] serial console/events example script

2012-05-29 Thread Dave Allan
On Fri, May 25, 2012 at 08:34:20PM -0600, Eric Blake wrote: On 03/29/2012 03:57 PM, Daniel P. Berrange wrote: On Thu, Mar 29, 2012 at 04:55:39PM -0400, Dave Allan wrote: On Wed, Feb 15, 2012 at 09:11:32PM -0500, Dave Allan wrote: Hi all, A while back I wrote the attached code

Re: [libvirt] [PATCH] qemu: configurable VNC port boundaries for domains

2012-05-22 Thread Dave Allan
On Tue, May 22, 2012 at 04:10:03PM +0200, Martin Kletzander wrote: The defines QEMU_VNC_PORT_MIN and QEMU_VNC_PORT_MAX were used to find free port when starting domains. As this was hardcoded to the same ports as default VNC servers, there were races with these other programs. This patch

Re: [libvirt] [PATCH] qemu: configurable VNC port boundaries for domains

2012-05-22 Thread Dave Allan
On Tue, May 22, 2012 at 09:09:55AM -0600, Eric Blake wrote: On 05/22/2012 09:00 AM, Dave Allan wrote: On Tue, May 22, 2012 at 04:10:03PM +0200, Martin Kletzander wrote: The defines QEMU_VNC_PORT_MIN and QEMU_VNC_PORT_MAX were used to find free port when starting domains

Re: [libvirt] [PATCH] virsh: Allow users to reedit rejected XML

2012-05-10 Thread Dave Allan
On Wed, May 09, 2012 at 03:36:26PM +0200, Michal Privoznik wrote: If users {net-,pool-,}edit but make a mistake in XML all changes are permanently lost. However, if virsh is running in interactive mode we can as user if he wants to re-edit the file and correct the mistakes. ACK to the design,

[libvirt] oVirt workshop at LinuxCon Japan

2012-05-10 Thread Dave Allan
I got this notice today about an oVirt workshop coming up June 8 at LinuxCon Japan, and I thought it might be of interest. Details below... Hello everyone, As part of our efforts to raise awareness of and educate more developers about the oVirt project, we will be holding an oVirt workshop at

Re: [libvirt] [libvirt-docs PATCH] Added Snooze cloud manager to the IaaS section

2012-05-02 Thread Dave Allan
On Wed, May 02, 2012 at 07:53:41PM +0200, Eugen Feller wrote: --- docs/apps.html.in |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/docs/apps.html.in b/docs/apps.html.in index 29bebbd..10ea6bf 100644 --- a/docs/apps.html.in +++ b/docs/apps.html.in @@

Re: [libvirt] [PATCH] Refactor the libvirt RPM daemon pieces

2012-03-30 Thread Dave Allan
On Fri, Mar 30, 2012 at 02:22:01PM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com NB: this is in response to a Fedora 17 beta blocker bug. Currently gnome-boxes depends on 'libvirt' which pulls in the default virtual network, which kills networking if you

Re: [libvirt] serial console/events example script

2012-03-29 Thread Dave Allan
On Wed, Feb 15, 2012 at 09:11:32PM -0500, Dave Allan wrote: Hi all, A while back I wrote the attached code to demonstrate how to use events and serial console to create a serial console that stays up even when the VM is down. Is it worth adding to the examples? It might need some work

Re: [libvirt] Turning off libvirtd mdns by default

2012-03-27 Thread Dave Allan
On Tue, Mar 27, 2012 at 10:17:02AM +0100, Daniel P. Berrange wrote: On Mon, Mar 26, 2012 at 09:31:44PM +0200, Stef Walter wrote: In the GNOME UI we'd like to make use of Avahi discovery and name resolution out of the box. A typical use case is for discovery of printers that are advertised

Re: [libvirt] [PATCH 1/1] Clarify virsh freecell manpage entry

2012-03-23 Thread Dave Allan
On Thu, Mar 22, 2012 at 09:42:50PM -0600, Eric Blake wrote: On 03/22/2012 02:49 PM, Dave Allan wrote: --- tools/virsh.pod | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index f0df4fd..a8bd739 100644

[libvirt] clarify freecell documentation

2012-03-22 Thread Dave Allan
There were a couple of minor inaccuracies in the freecell manpage and virsh help. The first patch fixes the manpage and the second, to virsh.c, attempts to fix the help output. The virsh.c patch appears to produce the correct output, but is pure cargo cult programming, so it should be very

[libvirt] [PATCH 2/2] Indicate freecell --cellno is optional

2012-03-22 Thread Dave Allan
--- tools/virsh.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 9e5c9b2..d9cff0c 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -4742,7 +4742,7 @@ static const vshCmdInfo info_freecell[] = { }; static const vshCmdOptDef

Re: [libvirt] [PATCH 1/2] Clarify virsh freecell manpage entry

2012-03-22 Thread Dave Allan
On Thu, Mar 22, 2012 at 02:13:07PM -0600, Eric Blake wrote: On 03/22/2012 01:59 PM, Dave Allan wrote: --- tools/virsh.pod | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index f0df4fd..b4deae8 100644

Re: [libvirt] [PATCH 2/2] Indicate freecell --cellno is optional

2012-03-22 Thread Dave Allan
On Thu, Mar 22, 2012 at 02:10:30PM -0600, Eric Blake wrote: On 03/22/2012 01:59 PM, Dave Allan wrote: --- tools/virsh.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 9e5c9b2..d9cff0c 100644 --- a/tools/virsh.c +++ b

[libvirt] clarify freecell documentation v2

2012-03-22 Thread Dave Allan
Modified per Eric's feedback: removed incorrect virsh help change, removed unnecessary examples in the manpage. I also fixed two instances in which I referred to nodes instead of cells. Dave -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH 1/1] Clarify virsh freecell manpage entry

2012-03-22 Thread Dave Allan
--- tools/virsh.pod | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index f0df4fd..a8bd739 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -401,11 +401,16 @@ Bvirsh list --title 0 Domain-0 running

Re: [libvirt] [PATCHv4 0/3] Xen: Fix clock handling

2012-03-21 Thread Dave Allan
On Wed, Mar 21, 2012 at 09:42:42AM +0100, Philipp Hahn wrote: Hello, On Tuesday 28 February 2012 13:42:05 Philipp Hahn wrote: On Tuesday 14 February 2012 19:07:21 Philipp Hahn wrote: Before version 3.1 xen only implemented clock/@offset='utc' and 'localtime'. With the introduction of

[libvirt] clarify doc references to documentation

2012-03-21 Thread Dave Allan
This patch is a v2 follwing up on: http://www.redhat.com/archives/libvir-list/2012-February/msg01104.html rebased to the current HEAD and incorporating the changes suggested by Eric. I've also made a couple of minor unrelated cleanups to the affected sentences to make the whole thing read a bit

[libvirt] [PATCH 1/1] Clarify what documentation is being referenced

2012-03-21 Thread Dave Allan
virsh.pod had several instances in which it referred to the documentation which was a little puzzling to me since it is documentation. Reading the document from end to end makes it clear that it means a specific URI which was noted previously in the text, but I had never noticed those URIs in

Re: [libvirt] [PATCH RFC]: Support numad

2012-03-01 Thread Dave Allan
On Wed, Feb 29, 2012 at 06:29:55AM -0500, Bill Burns wrote: On 02/28/2012 11:34 PM, Osier Yang wrote: On 02/29/2012 12:40 AM, Daniel P. Berrange wrote: On Tue, Feb 28, 2012 at 11:33:03AM -0500, Dave Allan wrote: On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user

Re: [libvirt] [PATCH 1/1] Clarify what documentation is being referenced

2012-02-28 Thread Dave Allan
On Mon, Feb 27, 2012 at 04:02:44PM -0700, Eric Blake wrote: On 02/27/2012 03:51 PM, Dave Allan wrote: virsh.pod had several instances in which it referred to the documentation which was a little puzzling to me since it is documentation. Reading the document from end to end makes it clear

Re: [libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Dave Allan
On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource alignment of applications/virtual machines to improve performance and minimize cost of remote memory

Re: [libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Dave Allan
On Tue, Feb 28, 2012 at 04:40:06PM +, Daniel P. Berrange wrote: On Tue, Feb 28, 2012 at 11:33:03AM -0500, Dave Allan wrote: On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user-level daemon that monitors NUMA topology and processes resource consumption

[libvirt] [PATCH 1/1] Clarify what documentation is being referenced

2012-02-27 Thread Dave Allan
virsh.pod had several instances in which it referred to the documentation which was a little puzzling to me since it is documentation. Reading the document from end to end makes it clear that it means a specific URI which was noted previously in the text, but I had never noticed those URI in

[libvirt] [PATCH 1/1] Update bug reporting page

2012-02-23 Thread Dave Allan
Remove suggestion that people file bugs against RHEL 5 and add a suggestion that people increase the visibility of their bugs by mentioning them on libvir-list. --- docs/bugs.html.in | 83 1 files changed, 57 insertions(+), 26 deletions(-)

[libvirt] [PATCH 1/1] Add a few additional comments to bugs.html

2012-02-23 Thread Dave Allan
Clarified that bugs in this context means any change to libvirt, whether called a bug, feature, etc. Noted the existence of the Fedora virt preview repo as a way of trying out newer prebuilt packages. Noted that you don't need to be subscribed to the list to post. --- docs/bugs.html.in | 22

Re: [libvirt] RFC: memory units=... [was: libvirt doesn't boot kVM, hangs, qemu on 100% CPU]

2012-02-22 Thread Dave Allan
On Wed, Feb 22, 2012 at 04:42:59PM -0700, Eric Blake wrote: On 02/21/2012 03:46 PM, Igor Galić wrote: Hi folks, it's been adventurous. Yesterday night I've started debugging this particular issue of why my KVMs don't boot on Ubuntu 11.10. On IRC, we identified the culprit:

Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Dave Allan
On Wed, Feb 15, 2012 at 10:08:24AM +0100, Christophe Fergeau wrote: On Tue, Feb 14, 2012 at 02:10:37PM -0700, Eric Blake wrote: Meta-question - if the XML requests secure, but TLS is disabled, should we instead be failing to start the domain with a complaint that we can't honor the XML?

[libvirt] serial console/events example script

2012-02-15 Thread Dave Allan
Hi all, A while back I wrote the attached code to demonstrate how to use events and serial console to create a serial console that stays up even when the VM is down. Is it worth adding to the examples? It might need some work, as I am not terribly strong with Python. Dave #!/usr/bin/python -u

Re: [libvirt] Start of freeze for libvirt-0.9.10 and availability of rc1

2012-02-13 Thread Dave Allan
On Mon, Feb 13, 2012 at 03:39:51PM +0100, Jiri Denemark wrote: On Fri, Feb 10, 2012 at 13:33:47 -0700, Eric Blake wrote: On 02/10/2012 12:21 PM, Dave Allan wrote: I'm wondering if we're too late for one more API to round out the API we added in this release. Qemu is proposing a new

Re: [libvirt] Start of freeze for libvirt-0.9.10 and availability of rc1

2012-02-10 Thread Dave Allan
On Thu, Feb 09, 2012 at 04:32:46PM -0700, Eric Blake wrote: On 02/06/2012 12:21 AM, Daniel Veillard wrote: We are now entering the freeze for libvirt-0.9.10 Hopefully all the API changes needed for that version are already commited to git head. I have made a release candidate 1

[libvirt] [PATCH 1/1] Clarify the purpose of domxml-from-native

2012-02-06 Thread Dave Allan
Someone mentioned to me that they interpreted this section of the KVM driver page as suggesting that new guests should be created by creating a qemu commandline and converting it to XML with domxml-from-native. I don't think that's the intent of domxml-from-native, so I added that clarification.

[libvirt] [PATCH 1/1] Clarify the purpose of domxml-from-native (v2)

2012-02-06 Thread Dave Allan
Someone mentioned to me that they interpreted this section of the KVM driver page as suggesting that new guests should be created by creating a qemu commandline and converting it to XML with domxml-from-native. I don't think that's the intent of domxml-from-native, so I added that clarification.

Re: [libvirt] [PATCH 1/1] Clarify the purpose of domxml-from-native (v2)

2012-02-06 Thread Dave Allan
On Mon, Feb 06, 2012 at 04:06:13PM -0700, Eric Blake wrote: On 02/06/2012 03:17 PM, Dave Allan wrote: Someone mentioned to me that they interpreted this section of the KVM driver page as suggesting that new guests should be created by creating a qemu commandline and converting it to XML

[libvirt] [PATCH 1/1] Add detail to documentation on storage pools and volumes.

2012-02-02 Thread Dave Allan
The storage pools page contains details about the capabilities of the various pool types, but not an overview of how they are intended to be used. This patch adds some explanation of what pools and volumes can be used for and why an administrator might want to use them. --- docs/storage.html.in

Re: [libvirt] Feature Request: sniff a virtual interface of a guest

2012-01-27 Thread Dave Allan
On Fri, Jan 27, 2012 at 09:28:21AM +0100, Hendrik Schwartke wrote: Hi, there is currently no support for sniffing the network traffic of a virtual nic, from local or remote. In some cases the debugging or monitoring of a guest is therefore not as easy as it could be. Although it's easy

Re: [libvirt] [PATCH 1/4] xml: Add element title to allow short description of domains

2012-01-27 Thread Dave Allan
On Fri, Jan 27, 2012 at 05:31:20PM +, Daniel P. Berrange wrote: On Fri, Jan 27, 2012 at 06:22:16PM +0100, Peter Krempa wrote: This patch adds a new element title to the domain XML. This attribute can hold a short title defined by the user to ease the identification of domains. The title

Re: [libvirt] [PATCH] BlockJob: Support sync/async virDomainBlockJobAbort

2012-01-16 Thread Dave Allan
On Fri, Jan 13, 2012 at 04:30:56PM -0600, Adam Litke wrote: On Fri, Jan 13, 2012 at 04:48:30PM -0500, Dave Allan wrote: On Fri, Jan 13, 2012 at 02:51:23PM -0600, Adam Litke wrote: Qemu has changed the semantics of the block_job_cancel API. Originally, the operation was synchronous

Re: [libvirt] [PATCH] BlockJob: Support sync/async virDomainBlockJobAbort

2012-01-13 Thread Dave Allan
On Fri, Jan 13, 2012 at 02:51:23PM -0600, Adam Litke wrote: Qemu has changed the semantics of the block_job_cancel API. Originally, the operation was synchronous (ie. upon command completion, the operation was guaranteed to be completely stopped). With the new semantics, a block_job_cancel

Re: [libvirt] [PATCH 0/2] Introduce two new virsh commands

2011-12-19 Thread Dave Allan
On Mon, Dec 19, 2011 at 12:41:08PM +0800, Osier Yang wrote: On 2011年06月30日 00:26, Eric Blake wrote: On 06/29/2011 06:19 AM, Osier Yang wrote: These two patches is to introduce two new virsh commands, one is eject-media, which is to eject media from CD or floppy drive, the other is

[libvirt] make uninstall fails

2011-12-09 Thread Dave Allan
Hey all, I just noticed that make uninstall from the git HEAD fails: rmdir /etc/sasl2/ rmdir: failed to remove `/etc/sasl2/': Directory not empty it's correct that /etc/sasl2 should not be removed, as it has other files in it, so I think this removal should be more targeted, although I haven't

[libvirt] [PATCH 1/1] Fix make uninstall

2011-12-09 Thread Dave Allan
Make uninstall currently fails with the following message: rmdir /etc/sasl2/ rmdir: failed to remove `/etc/sasl2/': Directory not empty That's fine (correct in fact) so force the command to return success with || : --- daemon/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1

Re: [libvirt] make uninstall fails

2011-12-09 Thread Dave Allan
On Fri, Dec 09, 2011 at 10:24:06AM -0500, Dave Allan wrote: Hey all, I just noticed that make uninstall from the git HEAD fails: rmdir /etc/sasl2/ rmdir: failed to remove `/etc/sasl2/': Directory not empty it's correct that /etc/sasl2 should not be removed, as it has other files

Re: [libvirt] [PATCH 00/10] Console coruption with two or more clients series

2011-12-05 Thread Dave Allan
On Thu, Dec 01, 2011 at 04:35:10PM +0100, Peter Krempa wrote: On 10/18/2011 12:34 PM, Daniel P. Berrange wrote: On Wed, Oct 12, 2011 at 03:43:10PM +0200, Peter Krempa wrote: This series fixes anoying console corruption if two clients try to connect at same time to the console. The current

Re: [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Dave Allan
On Fri, Dec 02, 2011 at 03:21:54PM +0100, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: Thanks for the heads up. Dave error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice

Re: [libvirt] Associate a LUN as disk with WWNN/WWPN

2011-11-28 Thread Dave Allan
On Fri, Nov 25, 2011 at 10:49:29AM +, Daniel P. Berrange wrote: On Fri, Nov 25, 2011 at 06:42:42PM +0800, Osier Yang wrote: On 2011年11月25日 18:28, Daniel P. Berrange wrote: On Fri, Nov 25, 2011 at 04:55:02PM +0800, Osier Yang wrote: quote AFAIU libvirt needs a way to: -

Re: [libvirt] Associate a LUN as disk with WWNN/WWPN

2011-11-28 Thread Dave Allan
On Mon, Nov 28, 2011 at 09:41:12PM +, Daniel P. Berrange wrote: On Mon, Nov 28, 2011 at 09:01:45AM -0500, Dave Allan wrote: On Fri, Nov 25, 2011 at 10:49:29AM +, Daniel P. Berrange wrote: On Fri, Nov 25, 2011 at 06:42:42PM +0800, Osier Yang wrote: On 2011年11月25日 18:28, Daniel P

Re: [libvirt] ACLs for libvirt

2011-11-23 Thread Dave Allan
On Wed, Nov 23, 2011 at 06:17:46PM +0100, Michal Privoznik wrote: Hi all, I'd like to implement this new feature for libvirt. However, I think we should settle down on design first. My biggest concern is choosing the right level on on which ACLs will be implemented. Should be interested

Re: [libvirt] [PATCH] qemu: Copy console definition from serial

2011-11-21 Thread Dave Allan
On Mon, Nov 21, 2011 at 02:52:21PM +0100, Michal Privoznik wrote: On 17.11.2011 00:33, Eric Blake wrote: On 11/16/2011 06:14 AM, Michal Privoznik wrote: Now, when we support multiple consoles per domain, the vm-def-console[0] can still remain an alias for vm-def-serial[0]; However, we

Re: [libvirt] bug: try to take disk snapshot for LVM2 Volume

2011-11-17 Thread Dave Allan
On Wed, Nov 16, 2011 at 08:45:34AM -0700, Eric Blake wrote: On 11/15/2011 08:20 PM, Dave Allan wrote: After working on this some more, I think that identifying problematic file systems, like devtmpfs, is too tricky to be portable. But I think we can meet halfway - right now, the libvirt

Re: [libvirt] [PATCH] qemu: Copy console definition from serial

2011-11-16 Thread Dave Allan
I haven't code reviewed it, but it fixes serial console on my system, so ack to the functionality. Dave On Wed, Nov 16, 2011 at 02:14:52PM +0100, Michal Privoznik wrote: Now, when we support multiple consoles per domain, the vm-def-console[0] can still remain an alias for vm-def-serial[0];

Re: [libvirt] bug: try to take disk snapshot for LVM2 Volume

2011-11-15 Thread Dave Allan
-san, I must admit that I don't understand the problem that you are attempting to solve either. I have reread the thread from the beginning, but I don't understand what your goal is. Could you explain to us more about your use case? Regards, Dave Allan If I recall correctly, you started

Re: [libvirt] bug: try to take disk snapshot for LVM2 Volume

2011-11-15 Thread Dave Allan
On Tue, Nov 15, 2011 at 05:26:59PM -0700, Eric Blake wrote: On 11/15/2011 04:18 PM, Eric Blake wrote: 2. Do the 'virsh snapshot-create abc --disk-only' with libvirt-0.9.6 or upper. But here, since you failed to use the --xmlfile option with XML describing the new qcow2 file name (or

Re: [libvirt] 0.9.7 virsh console regression?

2011-11-10 Thread Dave Allan
On Wed, Nov 09, 2011 at 06:26:41PM -0500, Albert W. Hopkins wrote: Hi folks, I have a few headless qemu domains that use serial consoles. Typically i connect to the consoles with # virsh console domain However with 0.9.7 I get Connected to domain gentoo-base

Re: [libvirt] Virtual serial logging server?

2011-11-09 Thread Dave Allan
On Wed, Nov 09, 2011 at 04:15:57PM +0100, Jérémie Tarot wrote: Hi, 2011/11/6 Reeted ree...@shiftmail.org: Dear all, please excuse the almost-OT question, I see various possibilities in quemu-kvm and libvirt for sending virtual serial port data to files, sockets, pipes, etc on the

Re: [libvirt] changes to domain XML for SCSI support

2011-10-26 Thread Dave Allan
On Wed, Oct 26, 2011 at 05:51:55PM +0200, Paolo Bonzini wrote: Hi all, let's kick off the discussion on what changes are needed in domain XML for more complete SCSI support. There are three relevant topics: 1) providing channel/target/lun addresses for SCSI disks; 2) supporting LUN

  1   2   3   4   >