[libvirt] libvirt tracking of hung/stopped QEMU VMs

2011-05-03 Thread Ryan Harper
became unblocked. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ry...@us.ibm.com -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt tracking of hung/stopped QEMU VMs

2011-05-03 Thread Ryan Harper
* Ryan Harper ry...@us.ibm.com [2011-05-03 16:57]: I've encountered an interesting scenario: 1. define a guest via virsh define xml 2 start this guest via virsh 3. one of the disk elements is a multipath device that is currently misconfigured such that any io to the device hangs

Re: [libvirt] directory storage pools reported available space

2010-12-06 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-12-06 05:03]: On Fri, Dec 03, 2010 at 12:00:39AM -0600, Ryan Harper wrote: We recently had an issue with not being able to allocate the full capacity of a directory based storage pool. The reported value via pool-info was larger than what

Re: [libvirt] directory storage pools reported available space

2010-12-03 Thread Ryan Harper
* Osier Yang jy...@redhat.com [2010-12-03 00:23]: ??? 2010???12???03??? 14:00, Ryan Harper ??: We recently had an issue with not being able to allocate the full capacity of a directory based storage pool. The reported value via pool-info was larger than what was available to the image

[libvirt] directory storage pools reported available space

2010-12-02 Thread Ryan Harper
and 6 systems reports the available space from f_bavail, which excludes and reserved space. Is it reasonable to have the available value line up with output from df and not report reserved space? -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ry...@us.ibm.com

[libvirt] [PATCH v5] qemu: call drive_del in DetachPciDiskDevice

2010-11-12 Thread Ryan Harper
indicating that the target drive was auto-deleted upon guest responds to the device removal notification. 1. http://thread.gmane.org/gmane.comp.emulators.qemu/84745 Signed-off-by: Ryan Harper ry...@us.ibm.com --- Changes since v4: - removed PATH_MAX, use virAsprintf() - moved drivestr allocation

[libvirt] [PATCH v4] qemu: call drive_del in DetachPciDiskDevice

2010-11-08 Thread Ryan Harper
indicating that the target drive was auto-deleted upon guest responds to the device removal notification. 1. http://thread.gmane.org/gmane.comp.emulators.qemu/84255 Signed-off-by: Ryan Harper ry...@us.ibm.com --- Changes since v3: - Renamed DriveUnplug - DriveDel, use drive_del monitor cmd. - Moved

[libvirt] [PATCH v3] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-22 Thread Ryan Harper
command isn't present and log error instead of failing entire command Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index abd8e9d..615427a 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -8646,6 +8646,7 @@ static int

[libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
consistent with previous releases so I'm open to other approachs, but given the potential data leakage problem hot-remove can lead to without drive_unplug, I think it's the right thing to do. Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index

Re: [libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
* Ryan Harper ry...@us.ibm.com [2010-10-21 09:01]: Currently libvirt doesn't confirm whether the guest has responded to the disk removal request. In some cases this can leave the guest with continued access to the device while the mgmt layer believes that it has been removed. With a recent

Re: [libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-10-21 11:46]: On Thu, Oct 21, 2010 at 08:50:35AM -0500, Ryan Harper wrote: Currently libvirt doesn't confirm whether the guest has responded to the disk removal request. In some cases this can leave the guest with continued access

Re: [libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-10-21 11:56]: On Thu, Oct 21, 2010 at 11:48:33AM -0500, Anthony Liguori wrote: On 10/21/2010 11:45 AM, Daniel P. Berrange wrote: On Thu, Oct 21, 2010 at 08:50:35AM -0500, Ryan Harper wrote: Currently libvirt doesn't confirm whether

Re: [libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-10-21 12:10]: On Thu, Oct 21, 2010 at 11:53:29AM -0500, Ryan Harper wrote: * Daniel P. Berrange berra...@redhat.com [2010-10-21 11:46]: On Thu, Oct 21, 2010 at 08:50:35AM -0500, Ryan Harper wrote: Currently libvirt doesn't confirm whether

Re: [libvirt] [PATCH] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-10-21 12:10]: On Thu, Oct 21, 2010 at 11:53:29AM -0500, Ryan Harper wrote: * Daniel P. Berrange berra...@redhat.com [2010-10-21 11:46]: On Thu, Oct 21, 2010 at 08:50:35AM -0500, Ryan Harper wrote: Currently libvirt doesn't confirm whether

[libvirt] [PATCH v2] qemu: call drive_unplug in DetachPciDiskDevice

2010-10-21 Thread Ryan Harper
Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index abd8e9d..615427a 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -8646,6 +8646,7 @@ static int qemudDomainDetachPciDiskDevice(struct qemud_driver *driver

[libvirt] [PATCH] virsh: remove driver check from attach-disk command

2010-08-24 Thread Ryan Harper
='0x0'/ /disk Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/tools/virsh.c b/tools/virsh.c index c0ee3ee..7bc33d8 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -8146,13 +8146,8 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd) mode = vshCommandOptString(cmd, mode, NULL

[libvirt] virsh attach-disk using files and KVM

2010-08-18 Thread Ryan Harper
? -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ry...@us.ibm.com -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] virsh attach-disk using files and KVM

2010-08-18 Thread Ryan Harper
* Daniel P. Berrange berra...@redhat.com [2010-08-18 12:35]: On Wed, Aug 18, 2010 at 12:22:27PM -0500, Ryan Harper wrote: Currently virsh attach-disk interface only accepts 'file' or 'tap' for driver type when attaching files as disks. One can succesfully attach a file as disk

[libvirt] [RESEND][PATCH][QEMU driver] Catch cdrom change error

2010-03-31 Thread Ryan Harper
://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01935.html Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c index 1596e59..f868907 100644 --- a/src/qemu/qemu_monitor_text.c +++ b/src/qemu/qemu_monitor_text.c @@ -905,7 +905,14

[libvirt] [PATCH][QEMU driver] Catch cdrom change error

2010-03-25 Thread Ryan Harper
://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01935.html Signed-off-by: Ryan Harper ry...@us.ibm.com diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c index 1596e59..f868907 100644 --- a/src/qemu/qemu_monitor_text.c +++ b/src/qemu/qemu_monitor_text.c @@ -905,7 +905,14

Re: [Libvir] The problem of the definition of tuning informations

2007-11-08 Thread Ryan Harper
or any management app to control from which node domains pull memory. I don't have any objection to separating tuning information as long as we have the ability to merge permanent domain parameters with its tuning information prior to domain construction. -- Ryan Harper Software Engineer; Linux

Re: [Libvir] The problem of the definition of tuning informations

2007-11-08 Thread Ryan Harper
* Daniel Veillard [EMAIL PROTECTED] [2007-11-08 15:27]: On Thu, Nov 08, 2007 at 02:00:10PM -0600, Ryan Harper wrote: * Daniel Veillard [EMAIL PROTECTED] [2007-11-08 10:08]: I promised that mail for the beginning of the week but I still have I think tuning informations are that set

Re: [Libvir] CPU pinning of domains at creation time

2007-10-11 Thread Ryan Harper
this covers everything we'd need. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [Libvir] [RFC][PATCH 1/2] Tested NUMA patches for available memory and topology

2007-09-28 Thread Ryan Harper
/listinfo/libvir-list -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [Libvir] [RFC][PATCH 0/2] Tested NUMA patches for available memory and topology

2007-09-28 Thread Ryan Harper
* Elizabeth Kon [EMAIL PROTECTED] [2007-09-28 12:32]: Ryan Harper wrote: * Elizabeth Kon [EMAIL PROTECTED] [2007-09-28 11:27]: Daniel Veillard wrote: - isolate as a separate call what is the total sum of free memory available on the Node There is currently

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-06 Thread Ryan Harper
* Daniel Veillard [EMAIL PROTECTED] [2007-09-06 08:55]: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In Xen, I've recently

[Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Ryan Harper
) A function to check available memory (3) Specifying which cpus to use prior to domain start Thoughts? 1. http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00298.html 2. http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00299.html -- Ryan Harper Software Engineer; Linux

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Ryan Harper
* Daniel Veillard [EMAIL PROTECTED] [2007-06-13 12:52]: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, Hello Ryan, Hey, thanks for the swift reply. I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen