Re: [libvirt] F17's libvirt takes comments into LIBVIRTD_ARGS

2012-05-16 Thread Shu Ming
On 2012-5-16 18:46, Dan Kenigsberg wrote: On Tue, May 15, 2012 at 04:16:11PM +0800, Shu Ming wrote: On 2012-5-14 7:30, Dan Kenigsberg wrote: On Sun, May 13, 2012 at 11:51:48PM +0800, Shu Ming wrote: Hi, Recently, I found that my host in engine was always in a unassigned state after

Re: [libvirt] F17's libvirt takes comments into LIBVIRTD_ARGS

2012-05-16 Thread Shu Ming
On 2012-5-16 23:35, Daniel P. Berrange wrote: On Wed, May 16, 2012 at 06:08:51PM +0300, Dan Kenigsberg wrote: On Wed, May 16, 2012 at 11:05:16PM +0800, Shu Ming wrote: On 2012-5-16 18:46, Dan Kenigsberg wrote: On Tue, May 15, 2012 at 04:16:11PM +0800, Shu Ming wrote: On 2012-5-14 7:30, Dan

Re: [libvirt] Migration failure related to EOF from Monitor

2012-02-22 Thread Shu Ming
On 2012-2-22 21:46, Shradha Shah wrote: Hello All, I am trying to migrate a KVM guest while implementing the patches for PCI-Passthrough of SRIOV Vf's and I repeatedly see the following error: [root@c6100k cwd]# virsh migrate --live dibenchvm1 qemu+ssh://c6100l.uk.level5networks.com/system

Re: [libvirt] [PATCH 3/3] qemu: Forbid migration with cache != none

2012-02-21 Thread Shu Ming
On 2012-2-22 0:17, Jiri Denemark wrote: Migrating domains with disks using cache != none is unsafe unless the disk images are stored on coherent clustered filesystem. Thus we forbid migrating such domains unless VIR_MIGRATE_UNSAFE flags is used. --- src/qemu/qemu_driver.c|3 ++-

Re: [libvirt] [vdsm] oVirt Live Snapshots

2012-02-02 Thread Shu Ming
Can someone explain what is DB in this wiki page? See, Live snapshots operation extend regular snapshots as follow: * Create a locked snapshot in DB On 2012-1-30 19:00, Federico Simoncelli wrote: Hi, oVirt, and more specifically VDSM, is currently implementing the live snapshot

Re: [libvirt] [PATCH 4/4 V2] virsh: Enable the pcpuinfo command in virsh

2012-01-03 Thread Shu Ming
A typo, physic CPU should be physical CPU. On 2012-1-4 12:09, Lai Jiangshan wrote: This command gets information about the physic CPUs. Example: # virsh pcpuinfo rhel6 CPU:0 Curr VCPU: - Usage: 47.3 CPU:1 Curr VCPU: 1 Usage: 46.8 CPU:

Re: [libvirt] [PATCH v2 0/5] RFC: grant KVM guests retain arbitrary capabilities

2011-12-27 Thread Shu Ming
On 2011-12-22 14:49, Taku Izumi wrote: Hi Daniel-san and all, This patchset adds an option for KVM guests to retain arbitrary capabilities. The first version is here: http://www.redhat.com/archives/libvir-list/2011-December/msg00857.html According to Daniel-san's comment, I changed my patch

Re: [libvirt] [PATCH] add a default event handle, to passthough the new events come from qemu

2011-12-04 Thread Shu Ming
an event again. but the libvirtd daemon has already register this event, so it return error. and then application did not know why this fails, And it will not register this event again. is this right? , Eric Blake wrote: On 10/13/2011 08:53 PM, shu ming wrote: Also I think it would be better

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

2011-11-21 Thread shu ming
On 2011-11-21 9:51, MATSUDA, Daiki wrote: Sorry, I confirmed the snapshot file is not wrong. I moved the snapshot file created under /dev as /dev/VG1/abc.xx to other place and fixed the config file re-writed by libvirt to use moved snapshot file abc.xx. So, the domain starts with no

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

2011-11-17 Thread shu ming
Checking the source of the disk will exclude the case when the source disk is block device while the snapshot target is given manually by the users with snapshot-create --xmlfile or virsh snapshot-create-as --diskspec. Why not check the snapshot directory where it will be created? On

Re: [libvirt] make docs fails on EL5

2011-11-15 Thread shu ming
It seems tit is he same issue as the thread below, the docs can not be generated in some Linux distros. It may be caused by the incompatibility of document tools in these distros. http://www.mail-archive.com/libvir-list@redhat.com/msg47624.html On 2011-11-16 1:27, Daniel Berteaud wrote: Hi.

Re: [libvirt] can't start domain with a corrupted disk attatched

2011-11-03 Thread shu ming
On 2011-11-3 18:12, Daniel P. Berrange wrote: On Thu, Nov 03, 2011 at 05:33:56PM +0800, lvroyce wrote: Hi all, I came across below issue when testing: 1.make a volume and attach it to a domain A 2.unplug the vg from the host in order to emulating a volume failure 3.start

Re: [libvirt] [Qemu-devel] passing secrets to block devices

2011-10-20 Thread shu ming
On 2011-10-21 5:48, Josh Durgin wrote: On 10/20/2011 12:24 PM, Daniel P. Berrange wrote: On Thu, Oct 20, 2011 at 11:30:42AM -0700, Josh Durgin wrote: We're working on libvirt support for block device authentication [1]. To authenticate, rbd needs a username and a secret. Normally, to avoid

Re: [libvirt] [PATCH] add a default event handle, to passthough the new events come from qemu

2011-10-13 Thread shu ming
On 2011-10-13 17:54, Daniel P. Berrange wrote: On Tue, Oct 11, 2011 at 08:46:06AM -0500, Adam Litke wrote: On Mon, Oct 10, 2011 at 11:54:08PM +0800, shao...@linux.vnet.ibm.com wrote: From: Shaohe Fengshao...@linux.vnet.ibm.com Basically, this feature can go along with qemu monitor

Re: [libvirt] domain shutdown requests

2011-09-15 Thread shu ming
From the real physical usage case, the user can not shutdown a suspended OS before the OS is resumed. That is what Linux and Windows does now. And the user will get a interactive pop-up window before the request is confirmed. So in virtualized enviroment, it is better to resume the guest OS

Re: [libvirt] The design choice for how to enable block I/O throttling function in libvirt

2011-08-30 Thread shu ming
See commens below. Zhi Yong Wu: HI, folks, I am trying to enable block I/O throttling function in libvirt. But currently i met some design questions, and don't make sure if we should extend blkiotune to support block I/O throttling or introduce one new libvirt command blkiothrottle to cover it

Re: [libvirt] The design choice for how to enable block I/O throttling function in libvirt

2011-08-30 Thread shu ming
Zhi Yong Wu: On Tue, Aug 30, 2011 at 3:18 PM, shu mingshum...@linux.vnet.ibm.com wrote: See commens below. Zhi Yong Wu: HI, folks, I am trying to enable block I/O throttling function in libvirt. But currently i met some design questions, and don't make sure if we should extend blkiotune to

Re: [libvirt] [PATCH 2/7] prevent hot unplugging multi function PCI device

2011-06-09 Thread shu ming
Hi I applied these pacches to libvirt tree 8077d64f964705c1034555abeea38773532b762f And built a qemu-kvm from the upstream qemu-kvm tree version 0.14. I tested these new binaries on my Redhat Enterprise Linux 6.1 GA. Now I can have multiple function devices after I changed the VM XML

Re: [libvirt] [PATCH 2/7] prevent hot unplugging multi function PCI device

2011-06-09 Thread shu ming
Wen Congyang: At 06/09/2011 04:37 PM, shu ming Write: Hi I applied these pacches to libvirt tree 8077d64f964705c1034555abeea38773532b762f And built a qemu-kvm from the upstream qemu-kvm tree version 0.14. I tested these new binaries on my Redhat Enterprise Linux 6.1 GA. Now I can have