Re: [libvirt-users] [libvirt] Guide to view the libvirt source.

2013-10-14 Thread Osier Yang
On 04/10/13 21:04, cooldharma06 wrote: hi all, i am new to this libvirt. Any guide or reference is available to know more things libvirt (individual programs). because it will give me some idea to get about the libvirt and its corresponding programs. If there is available means please

Re: [libvirt-users] Specify mount option for Storage-Pool

2013-09-24 Thread Osier Yang
On 20/09/13 23:30, Jorge Fábregas wrote: Hi, I've changed the default storage-pool from directory-based to a pre-formatted block-device since my /var/lib/libvirt/images is on a partition of its own. I would like to use the discard option as well as other (noatime etc) on this filesystem. Is

Re: [libvirt-users] Expanding an LVM Storage Pool

2013-09-24 Thread Osier Yang
On 21/09/13 02:15, McEvoy, James wrote: I looked around but could not find any info on how to expand a libvirt managed LVM storage pool. I do not see any virsh command to do it but I was successful using the vgexpand command to add some more storage once I destroyed the pools and then

Re: [libvirt-users] problem with sheepdog backend when creating a pool

2013-09-24 Thread Osier Yang
On 18/09/13 23:03, Giovanni Bellac wrote: Hello all, I am getting a error, when creating a sheepdog pool via libvirt. libvirt is compiled as: ./configure --prefix=/opt/libvirt --without-xen --with-yajl --with-storage-sheepdog=/opt/sheepdog The options --with-somthing generally accept 3

[libvirt-users] Doc v2: How to use NPIV in libvirt

2013-09-18 Thread Osier Yang
Thanks for John Ferlan's lots of internal feedbacks, I believe it's more readable, and better orgnized now. Should we create a page for it under http://libvirt.org/deployment.html or add it in WIKI? == NPIV in libvirt NPIV (N_Port ID Virtualization) is a

Re: [libvirt-users] [libvirt] Doc v2: How to use NPIV in libvirt

2013-09-18 Thread Osier Yang
On 18/09/13 18:39, Osier Yang wrote: Thanks for John Ferlan's lots of internal feedbacks, I believe it's more readable, and better orgnized now. Should we create a page for it under http://libvirt.org/deployment.html or add it in WIKI? == Err

[libvirt-users] Doc: How to use NPIV in libvirt

2013-09-13 Thread Osier Yang
Before posting it to WIKI or somewhere, I want to see if there is any suggestions on it, or if I missed something. How to use NPIV in libvirt I planned to wrote a document about how to use NPIV in libvirt after more features are

Re: [libvirt-users] LVM Thin Volumes Storage Pools

2013-09-09 Thread Osier Yang
On 09/09/13 11:14, Jorge Fábregas wrote: On 09/08/2013 10:19 PM, Osier Yang wrote: Could you paste the bug number? https://bugzilla.redhat.com/show_bug.cgi?id=924672 The error pasted by Cole in the bug should be the real reason, which is overridden by the later pool stopping. And we have

Re: [libvirt-users] Error Attaching Seventh VirtIO-SCSI Device to Guest

2013-09-09 Thread Osier Yang
On 08/09/13 04:19, McEvoy, James wrote: -Original Message- From: Osier Yang [mailto:jy...@redhat.com] Sent: Friday, September 06, 2013 10:54 PM To: McEvoy, James Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Error Attaching Seventh VirtIO-SCSI Device to Guest On 04/09/13 09

Re: [libvirt-users] LVM Thin Volumes Storage Pools

2013-09-09 Thread Osier Yang
On 09/09/13 18:48, Jorge Fábregas wrote: On 09/09/2013 02:42 AM, Osier Yang wrote: And we have the bug to support the thin pool, sorry you won't be able to use it until the bug is fixed. Could you share the bug number so I can follow it? I mean libvirt has bug which need to be fixed

Re: [libvirt-users] LVM Thin Volumes Storage Pools

2013-09-08 Thread Osier Yang
On 09/09/13 03:53, Jorge Fábregas wrote: Hi, Is it possible to create a storage pool based on an LVM thin pool? I read a recent bugzilla but the problem there was that the storage-pool became unusable AFTER creating a thinpool which is a different case. Could you paste the bug number?

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-30 Thread Osier Yang
: On Sun, Jan 27, 2013 at 10:46 PM, Osier Yangjy...@redhat.comwrote: On 2013年01月28日 11:47, Osier Yang wrote: On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yangjy...@redhat.com wrote: On 2013年01月24日 14:26, Doug

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-28 Thread Osier Yang
On 2013年01月29日 00:17, Doug Goldstein wrote: On Sun, Jan 27, 2013 at 10:46 PM, Osier Yangjy...@redhat.com wrote: On 2013年01月28日 11:47, Osier Yang wrote: On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yangjy

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-27 Thread Osier Yang
On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yangjy...@redhat.com wrote: On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yangjy...@redhat.com wrote: On 2013年01月24日 12:11, Doug

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-27 Thread Osier Yang
On 2013年01月28日 11:47, Osier Yang wrote: On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yangjy...@redhat.com wrote: On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yangjy

Re: [libvirt-users] [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread Osier Yang
On 2013年01月24日 17:46, 韩诚 wrote: Thank you~ I'd like to know when it is supported? Is it on schedule? Right, it's not supported yet, it's on my TODO list (yes, on schedule), but it will be after the patches for Migration with NPIV. Even might be after (or before) integration of ivshmem server

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-23 Thread Osier Yang
On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yangjy...@redhat.com wrote: On 2013年01月24日 12:11, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 3:45 PM, Doug Goldsteincar...@gentoo.org wrote: I am using libvirt 0.10.2.2 and qemu-kvm 1.2.2 (qemu-kvm

Re: [libvirt-users] Error installing VM: Process exited while reading console log output

2012-12-27 Thread Osier Yang
On 2012年12月28日 13:14, Osier Yang wrote: On 2012年12月28日 05:28, Patrick 'P. J.' McDermott wrote: On 2012-12-26 10:28, Gao Yongwei wrote: you could change the log level of libvirt daemon by edit /etc/libvirt/libvirtd.log, and see more information On 2012-12-26 09:49, Osier Yang wrote

Re: [libvirt-users] Error installing VM: Process exited while reading console log output

2012-12-27 Thread Osier Yang
On 2012年12月28日 05:28, Patrick 'P. J.' McDermott wrote: On 2012-12-26 10:28, Gao Yongwei wrote: you could change the log level of libvirt daemon by edit /etc/libvirt/libvirtd.log, and see more information On 2012-12-26 09:49, Osier Yang wrote: Generally, this means qemu crashed, can you

Re: [libvirt-users] Error installing VM: Process exited while reading console log output

2012-12-26 Thread Osier Yang
On 2012年12月20日 14:29, Patrick 'P. J.' McDermott wrote: Hi, I'm trying to install a qemu-kvm virtual machine on a Debian GNU/Linux squeeze amd64 host, using virtinst 0.500.3 and libvirt 0.8.3. First I tried this command as a normal user (in groups kvm and libvirt): $ virt-install

Re: [libvirt-users] error: unsupported configuration: block I/O throttling not supported with this QEMU binary

2012-12-03 Thread Osier Yang
On 2012年12月03日 11:39, hzguanqiang wrote: On 2012-12-03 10:33, Osier wrote: On 2012年11月28日 16:34, hzguanqiang wrote: Hi, guys. I want to change block I/O throttle using 'virsh blkdeviotune' with vm not running, it reported an error: # virsh blkdeviotune instance-00dc /dev/loop0

Re: [libvirt-users] iSCSI storage pool autostart

2012-12-02 Thread Osier Yang
On 2012年12月03日 07:47, mdeche...@comcast.net wrote: Anyway I found this thread from a couple years ago and it talks about it being an ARP issue ( https://www.redhat.com/archives/libvirt-users/2010-March/msg00038.html). I enabled portfast on my switch ports that connects to my hosts and this

Re: [libvirt-users] error: unsupported configuration: block I/O throttling not supported with this QEMU binary

2012-12-02 Thread Osier Yang
On 2012年11月28日 16:34, hzguanqiang wrote: Hi, guys. I want to change block I/O throttle using 'virsh blkdeviotune' with vm not running, it reported an error: # virsh blkdeviotune instance-00dc /dev/loop0 --total-bytes-sec 2000 --total-iops-sec 20 --config error: Unable to change block I/O

Re: [libvirt-users] error: internal error lxc state driver is not active

2012-10-22 Thread Osier Yang
On 2012年10月22日 15:55, #█er wrote: hi: I want to use libvirt with LXC, but when I use virsh -c lxc:/// to connect to lxc, it just print these errors: error: internal error lxc state driver is not active error: failed to connect to the hypervisor I searched these error message , but it seems that

Re: [libvirt-users] Addition of Eucalyptus to IaaS section

2012-09-11 Thread Osier Yang
On 2012年09月10日 00:08, Eric Choi wrote: Hello there, I’m not sure if this is the right mailing list, but I’d like to see if we can add Eucalyptus to the IaaS page here: http://libvirt.org/apps.html#iaas Sure. Please let me know what is required in order to add us? Patch is welcomed, but

Re: [libvirt-users] [PATCH] docs: mention another iaas app built on libvirt

2012-09-11 Thread Osier Yang
On 2012年09月12日 05:28, Eric Blake wrote: Reported on the libvirt-users list. * docs/apps.html.in: Add Eucalyptus. Reported by Eric Choi. --- Any objections to this patch, turning your email into the needed doc markup? docs/apps.html.in | 8 1 file changed, 8 insertions(+) diff

Re: [libvirt-users] INTERNAL ERROR:can not attach network interface for vm

2012-07-23 Thread Osier Yang
On 2012年07月23日 17:24, Gao Yongwei wrote: hello,i got a error message when use virsh attach-interface for a vm: first, list the vm's interface,there's no interface now. virsh # domiflist ubuntum-124 Interface Type Source Model MAC

Re: [libvirt-users] [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE

Re: [libvirt-users] [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 17:34, Navin P wrote: +++ Osier Yang [18/07/12 16:13 +0800]: On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up

Re: [libvirt-users] Issue with getCPUStats and getMemoryStats

2012-07-10 Thread Osier Yang
On 2012年07月10日 15:07, Ananth wrote: Hi, I am facing issue with the calls getCPUStats and getMemoryStats. Please find the error below. AttributeError: 'module' object has no attribute 'VIR_NODE_CPU_STATS_ALL_CPUS' print con.getCPUStats(2, None, 0, 0) Traceback (most recent call last): File

Re: [libvirt-users] [libvirt] numa query

2012-07-09 Thread Osier Yang
On 2012年07月05日 21:50, kapil jain wrote: Hi, I have a host machine which contains 4 numa nodes each with 2 GB memory and 4 cpus. I am using qem-kvm hypervisor. I am trying to create a guest with the similar topology (4 numa nodes, with only 2 vcpus and 1 GB memory) as host. Each vcpu is 1-1

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-04 Thread Osier Yang
On 2012年07月03日 00:42, Ananth wrote: Thank you. Can you give pointers on how to compile libvirt code? and documentation available for the same? Sorry for the late response, I'm in vacation. Yes, there is documentation. http://libvirt.org/compiling.html Regards, Osier

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-02 Thread Osier Yang
On 2012年07月02日 17:24, Ananth wrote: Hi, I am using KVM hypervisor on Ubuntu 12.04 (libvirt-0.9.8). The call to list the interfaces seem to be failing on this version of libvirt as seen below. virsh # iface-list error: Failed to list active interfaces error: this function is not supported by the

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-02 Thread Osier Yang
On 2012年07月02日 20:06, Ananth wrote: Hi Thanks for the response. I installed using apt-get on ubuntu 12 04, should i be compiling libvirt myself with --with-netcf option instead of using any package manager? Yeah, if your destro packager didn't do that. Regards, Osier

Re: [libvirt-users] Storage Pools nodedev-create specific scsi_host#?

2012-06-29 Thread Osier Yang
On 2012年06月29日 08:16, mdeche...@comcast.net wrote: Hello everyone, Current host build is RHEL 6.2, soon to be upgrading. I'm in the process of mapping out a KVM/RHEV topology. I have questions about the landscape of storage pools and the instantiation of specific scsi_host IDs using virsh

Re: [libvirt-users] How to start a storage pool using libvirt?

2012-06-29 Thread Osier Yang
On 2012年06月28日 22:20, Ananth wrote: I figured out that poolObject.create(0) can start the storage pool. Is there a way to automatically create the folder, if the folder does not exist while defining a pool? for example, if i do pool-define myPool.xml, how can I make it create the folder if the

Re: [libvirt-users] How to set cpu limits to xen domU in libvirt

2012-06-18 Thread Osier Yang
On 2012年06月18日 09:58, Xing.x.Gao wrote: perhaps cgroup? Qemu driver uses the very cgroup to set the 'period' and 'quota'. You can uses write script to do it outside of libvirt (though it's not supported by libvirt officially), , or patch to XEN driver is welcomed. :-) 2012/6/18 Tony

Re: [libvirt-users] unsupported configuration: Reboot is not supported with this QEMU binary

2012-06-18 Thread Osier Yang
On 2012年06月17日 08:34, Xing.x.Gao wrote: 2012/6/17 Doug Goldsteincar...@cardoe.com: On Jun 15, 2012, at 10:35 PM, Xing.x.Gaoitx...@gmail.com wrote: 2012/6/15 Xing.x.Gaoitx...@gmail.com: 2012/6/15 Anthony Bourguignonanth...@typhon.com: Le vendredi 15 juin 2012 à 14:29 +0800, Xing.x.Gao a

Re: [libvirt-users] A RFE for libvirt

2012-06-07 Thread Osier Yang
On 2012年06月07日 06:38, Eric Blake wrote: On 06/05/2012 12:23 AM, whuang wrote: Hi, I am a libvirt user , there is a requirement about libvirt : I need a virsh cmd like #virsh *create-as* --disk --net to create a very sample guest I have not xml file and I think it's a little hard for me to

Re: [libvirt-users] A RFE for libvirt

2012-06-07 Thread Osier Yang
[ CC to libvir-list for further discussing ] On 2012年06月07日 20:20, Eric Blake wrote: On 06/07/2012 03:04 AM, Osier Yang wrote: I once thought the RFE is not a valid request from a command p.o.v (if we provide too much options for the various config tags, it's just duplicate work of tools like

Re: [libvirt-users] question of iSCSI pool on the same iSCSI target

2012-04-28 Thread Osier Yang
On 2012年04月27日 11:06, david_zhu wrote: Hi, all, I have 3 XMLs for defining iSCSI pools. i1.xml and i3.xml are configured to the same iSCSI target, and i2.xml uses another. virsh will report error if I define pool i3 after I have defined the pool i1, but it is OK after defining the pool i2.

Re: [libvirt-users] vzctl 3.1 not supported in virsh ?

2012-03-30 Thread Osier Yang
On 2012年03月30日 23:04, Jamshaid wrote: Hello If i use virsh with vzctl 3.1 i get below error virsh -c openvz:///system error: /Could not extract vzctl version It works ok with vzctl 3.0.x Is there any way i can use virsh with vzctl 3.1 ? IIR, it's somehing we need to improve for the version

Re: [libvirt-users] virsh create failed: cannot set CPU affinity on process 0

2012-03-29 Thread Osier Yang
On 03/30/2012 02:35 AM, 杨镭 wrote: Hello Everyone: We can't create vm on a physical server with 64 CPU(as reported by /proc/cpuinfo). The error message is: cannot set CPU affinity on process 0 The following is the capabilities detected by libvirt: archx86_64/arch modelWestmere/model

Re: [libvirt-users] Error when executing virsh command to ESX

2012-03-23 Thread Osier Yang
On 2012年03月22日 15:36, li_fuqiong wrote: Osier, Thank you very much for your helpful reply. I think I missed some info: 1. I execute nodeinfo, dumpxml command in windows client throw out of memory error, but can get right result in linux client, use the same VMware ESX 4.0 server, and virsh

Re: [libvirt-users] 转发: Error when executing virsh command to ESX

2012-03-21 Thread Osier Yang
On 2012年03月21日 15:49, li_fuqiong wrote: To Whom It May concern: I found that the following error is caused by adding a scsi disk to install the os, I remove the scsi disk and the error remove but still report 'out of memory': When trying to ask for help, it's better to tell which hypervisor

Re: [libvirt-users] where is the libvirt.xml ?

2012-03-08 Thread Osier Yang
On 03/08/2012 11:47 AM, suyi wang wrote: Hi all: My OS is now Fedora16 , and the spice server is installed on it by rpms. Then I run 'qemu-kvm -hda /root/vaddsoft.img -m 512 -vga qxl -spice port=5930,disable-ticketing' , I want to find out where is the libvirt.xml for the command . Well

Re: [libvirt-users] virsh create error : monitor socket did not show up

2012-03-07 Thread Osier Yang
On 03/07/2012 06:22 PM, 张光鹏 wrote: Hi,all i get a problem as below when i create a vm: virsh create deployment.0 error: Failed to create domain from deployment.0 error: monitor socket did not show up.: No such file or directory Generally it tells the qemu failed to start, could you check if

Re: [libvirt-users] libvirt for spice

2012-03-06 Thread Osier Yang
On 03/07/2012 11:28 AM, suyi wang wrote: As you can see, I just change graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0.0.0'/ to graphics type='spice' port='-1' autoport='yes' keymap='en-us' listen='0.0.0.0'/ , But it called the error as follows:

Re: [libvirt-users] libvirtd restore error?

2012-02-13 Thread Osier Yang
On 02/13/2012 04:13 PM, lee wrote: Hi qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64 qemu-kvm-tools-0.12.1.2-2.160.el6_1.2.x86_64 libvirt-java-javadoc-0.4.7-1.el6.noarch libvirt-client-0.8.7-18.el6.x86_64 fence-virtd-libvirt-qpid-0.2.1-8.el6.x86_64 ocaml-libvirt-0.6.1.0-6.2.el6.x86_64

Re: [libvirt-users] serial console with virt-install

2012-02-08 Thread Osier Yang
On 2012年02月08日 05:08, Felix Blanke wrote: Hello, sorry for bother you again. I'm new to kvm and libvirt, that's why my next question is maybe some sort of noob question :) I have a headless server (no X at all, just ssh) and want to run some virtual machines on it. I have kvm etc. all set up.

Re: [libvirt-users] redirect ports from user network

2011-12-29 Thread Osier Yang
On 2011年12月29日 16:38, Алексей Беляев wrote: Hello. I would like to redirect some ports from user network to host system. In console i can do it: /usr/libexec/qemu-kvm -drive file=/home/libvirt/qemu-fedora.img -vnc 10.200.1.1:1 -net user -redir tcp:22000::4 -redir tcp:22001::22 How can i do

Re: [libvirt-users] libvirt uninstall @ install problem??

2011-11-17 Thread Osier Yang
于 2011年11月17日 17:30, 张光鹏 写道: Hi: I have a rhel6.1 system, before I installed libvirt0.9.6.tar.gz, it already have installed libvirt-0.8.7-xxx.rpm. Can someone tell me how to uninstall the libvirt-0.8.7XXX.rpm ,and then i can install libvirt0.9.6.tar.gz and use it . Per you installed 0.8.7 as

Re: [libvirt-users] CPU and RAM utilization

2011-11-13 Thread Osier Yang
? 2011?11?13? 17:03, Jatin Kumar ??: Hello, I have a few vms running on a blade server and i want to log the actual RAM and CPU utilization by these vms. dom.info http://dom.info(), libvirt API call is not giving correct results. It is always showing the max allocated resources. I have tried

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
? 2011?10?26? 22:22, Luengffy XUE ??: Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
on the www . But I can not find the proper solutions or the same questions. Thanks very much. Best wishes. 2011/10/27 Osier Yang jy...@redhat.com mailto:jy...@redhat.com 于 2011年10月26日 22:22, Luengffy XUE 写道: Hi, all I migrate a vm from source host to the destination host. I

Re: [libvirt-users] Libvirt Live Migrat error

2011-10-20 Thread Osier Yang
? 2011?10?21? 10:25, Luengffy XUE ??: Dear , Today, i use the libvirt-manager to migrate the live VM . Problem comes ad the picture. How did it happen? Please help me. Thanks very much. Leungffy XUE Looks like your guest storage is not shared, generally you should mount the fs contains the

Re: [libvirt-users] random monitor socket did not show up

2011-09-21 Thread Osier Yang
于 2011年09月21日 22:38, Gian Uberto Lauri 写道: Hello gentlemen! I just experienced this weird thing: I have 2 machines (one is a Dell Pe1950 with 2 Xeon 5130, the other is a Fujitsu RX200S6 with 2 Xeon E5645), both run CentoOS 5.6, the DELL has the2.6.18-238.9.1.el5 whilethe

Re: [libvirt-users] Help!

2011-08-29 Thread Osier Yang
? 2011?08?26? 11:16, huachao yao ??: Buddy, I am a noob in libvirt develop. When I want to create a domain by using virDomainDefineXML and displays a window on the host desktop. But when I add the line graphics type='sdl' display=':0.0'/ into the config xml file, the error as below will

Re: [libvirt-users] hello, I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox, I can not attach a device to a domain

2011-08-29 Thread Osier Yang
? 2011?08?26? 20:27, bin liu ??: hello,I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox,I can not attach a device to a domain. It reports the error that can't get device from device.xml Hi, What's the exact error? here is my xml file for device(device.xml): disk

Re: [libvirt-users] Snapshot error command savevm not found

2011-08-02 Thread Osier Yang
? 2011?08?02? 08:15, Trey Dockendorf ??: Attempting to take snapshots of VM using virsh with the following command, # virsh -c qemu:///system snapshot-create CentOS6-x86-001 Results in the following error, error: internal error unable to execute QEMU command 'savevm': The command savevm has

Re: [libvirt-users] cannot perform tunnelled migration without using peer2peer flag

2011-07-18 Thread Osier Yang
于 2011年07月18日 10:07, zhang xintao 写道: Dear All I try to migration a kvm guest os to another host failed server: ubuntu 11.04 server virsh:migrate --live --tunnelled vm1 qemu+ssh://192.168.10.3/system error:Requested operation is not valid:cannot perform

Re: [libvirt-users] Migrate KVM Guest OS failed

2011-07-18 Thread Osier Yang
于 2011年07月18日 08:54, zhang xintao 写道: Dear All I used Virsh live Migrate KVM Guest OS failed error: unable to set user and group to '104:106' on '/mnt/run2/N2-WINDOWS-XP-1':Invalid argument /mnt/run2/ is a directory of local nfs server another host using

Re: [libvirt-users] libvirtError: internal error Domain mytest didn't show up

2011-06-01 Thread Osier Yang
On 06/02/2011 07:17 AM, Chun Tat David Chu wrote: Hi All, I am new using libvirt. I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong? Traceback (most recent call last): File

Re: [libvirt-users] Problem after restarting libvirt

2011-05-15 Thread Osier Yang
于 2011年05月11日 15:23, Nikita A Menkovich 写道: I could not find that cgroups are not persistent now. And there is no such information in changelog. Could you show me commit where it was changed? AFAIK, persistent XML for cgroups is never supported, except the current cpu.shares. On 9 May 2011

Re: [libvirt-users] Objective: run commands in the domain. Trouble: setting up a console

2011-05-09 Thread Osier Yang
于 2011年05月06日 22:39, Guilherme Santos 写道: I've installed libvirt and also Virtual Box OSE hypervisor, in order to see if I could properly manage it through virsh. I could easily set up, start, pause, resume, shutdown and destroy the newly created domains, from a XML file. Then I was wondering

Re: [libvirt-users] Problem after restarting libvirt

2011-05-09 Thread Osier Yang
于 2011年05月05日 21:32, Nikita A Menkovich 写道: After restarting libvirt cgroups for VMs are not recovered. Is there available to restore cgroup state after restart? except cpu.shares (Since 0.9.0), all other cgroup related stuffs have no persistent XML yet, so they can't be recovered. Regards

Re: [libvirt-users] can't up the eth in the vm and access to network

2011-05-04 Thread Osier Yang
. Is it necessary to install 0.8.4 or higher version ? Best regards, qinguan 在 2011年5月3日 下午4:28,Osier Yang jy...@redhat.com mailto:jy...@redhat.com写道: 于 2011年05月03日 15:38, guan qin 写道: Thanks a lot for your reply sincerely

Re: [libvirt-users] can't up the eth in the vm and access to network

2011-05-03 Thread Osier Yang
于 2011年05月03日 15:38, guan qin 写道: Thanks a lot for your reply sincerely! Actually ,if I do as what http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM said,: # echo 8086 10b9 /sys/bus/pci/drivers/pci-stub/new_id # echo :01:00.0

Re: [libvirt-users] problem installing libvirt from source

2011-04-27 Thread Osier Yang
于 2011年04月26日 23:05, Lars Nordin 写道: -Original Message- From: Matthias Bolte [mailto:matthias.bo...@googlemail.com] Without looking further into it, did you install the python-dev package? ./configure will disable the Python bindings if it cannot find the required files. But actually

Re: [libvirt-users] domain not present after shutdown

2011-04-21 Thread Osier Yang
于 2011年04月21日 08:36, David White 写道: I hope this is simple I have one kvm host that lists all my domains even after shut down. 'virsh list --all' shows machines in 'running' and 'shut off' states. If I copy those over to another machine and it only shows the virt machines in running state.

Re: [libvirt-users] How to disconnect the ISO image using virsh

2011-03-31 Thread Osier Yang
于 2011年03月31日 15:17, Masanari Iida 写道: Somebody sent me a tips. Following command do what I wanted to do. Thanks. attach-disk guest01 hdc --driver file --type cdrom --mode readonly Also using update-device with an xml which doesn't specify the source file path will work. On Thu, Mar 31,

Re: [libvirt-users] Event Types Libvirt can handle

2011-03-30 Thread Osier Yang
于 2011年03月29日 15:59, kadir yüceer 写道: Hello all, I'm trying to observe access events of guest VMs. However, as far as I understand event types in libvirt are really generic, like domain defined/undefined, started/stopped, etc. Isn't there any specific event types that libvirt can handle (like

Re: [libvirt-users] how to restart the network connection of kvm guest OS ?

2011-03-24 Thread Osier Yang
?? 2011??03??24?? 19:16, ?? : When a vm move from one VLAN(e.g. VLAN 1) to another VLAN (e.g. VLAN 2), it is needed to restart the network connection of guest OS, so that it can begin a dhcp discover and get a new ip again. But i can't find the way to restart the guest os's network

Re: [libvirt-users] livemigration over specific bridge/nic?

2011-03-24 Thread Osier Yang
于 2011年03月24日 20:33, Christoph Raible 写道: Hi @all, I have a question about the livemigration with libvirt / kvm. I have two bridges configured in my setup of each host. Now I want to set br1 (private network) as default NIC for live migration. libvirt doesn't support to bind a specified

Re: [libvirt-users] QEMU monitor

2011-03-14 Thread Osier Yang
于 2011年03月14日 22:42, Nikita A Menkovich 写道: Thanks for your reply, $ virsh update-device user user.xml --persistent error: Failed to update device from user.xml error: Requested operation is not valid: cannot modify the persistent configuration of a domain Without persistent it updates only

Re: [libvirt-users] CDROM

2011-03-07 Thread Osier Yang
于 2011年03月08日 05:29, Markiewicz, Patrick F (N-No Laurels) 写道: How would I “insert” a cdrom into a running virtual machine? $ virsh help attach-device $ virsh help attach-disk Regards Osier ___ libvirt-users mailing list libvirt-users@redhat.com

Re: [libvirt-users] Use libvirt-python to attach cdrom

2011-02-15 Thread Osier Yang
于 2011年02月16日 11:20, seven 写道: Osier Yangjyang@... writes: 于 2011年02月14日 16:37, seven 写道: Hi all, I want to attach cdrom by libvirt.py .But can't find a func in libvirt.py can finish this work. Who can help me ? Regard # python import libvirt conn =

Re: [libvirt-users] Use libvirt-python to attach cdrom

2011-02-14 Thread Osier Yang
于 2011年02月14日 16:37, seven 写道: Hi all, I want to attach cdrom by libvirt.py .But can't find a func in libvirt.py can finish this work. Who can help me ? Regard # python import libvirt conn = libvirt.open('qemu:///system') dom = conn.lookupByName('f14') dir(dom) ['ID', 'OSType',

Re: [libvirt-users] Using NFS to read image file

2011-02-12 Thread Osier Yang
于 2011年02月12日 13:07, Osier Yang 写道: 于 2011年02月11日 18:31, Marcela Castro León 写道: Hello: When I start the guest with an image on NFS file system, the ubuntu doesn't boot, It's remain on inittrams. I've tried to redefine the guest without apic pae configuration as I see on a blog, and I've

Re: [libvirt-users] Start domain with usable QMP connection?

2011-02-11 Thread Osier Yang
于 2011年02月11日 07:54, Bryan D. Payne 写道: Is there any way to get virsh / libvirt to create a domain such that I can later connect to it via QMP (without hacking the code)? The command line that libvirt creates for my current setup looks like this: /usr/local/bin/qemu-system-x86_64 -S -M pc-0.12

Re: [libvirt-users] Start domain with usable QMP connection?

2011-02-11 Thread Osier Yang
By the way, the patch of shortcut for HMP passthrough is very recent. commit 2169472ab6cac3bdb1f32578de2b608a61a1d703 Author: Jiri Denemark jdene...@redhat.com Date: Wed Feb 2 16:37:10 2011 +0100 Make sure you have it supported.. ;-) Regards Osier 于 2011年02月11日 07:54, Bryan D. Payne 写道: Is

Re: [libvirt-users] Clarification about virsh migration options

2011-02-11 Thread Osier Yang
于 2011年02月08日 23:29, Berend Dekens 写道: I am trying to work out what all the options are for migrating a KVM machine to another KVM machine, without using shared storage. The documentation is not quite verbose and not intuitive, so I'm hoping someone can explain this to me. The man pages show

Re: [libvirt-users] Not able to capture detailed CPU information of the guest machine using Libvirt API.

2011-02-11 Thread Osier Yang
于 2011年02月11日 15:29, arpita k 写道: Hi , I have two KVM guests in ubuntu host machine.I am using Python binding of Libvirt API to query on the hypervisor and capture the CPU , memory related information of the guest machines. I need to capture the detail information regarding CPU like :

Re: [libvirt-users] LXC libvirt support

2011-02-11 Thread Osier Yang
于 2011年02月12日 11:52, Nirmal Guhan 写道: Hi, Has anyone used libvirt to start/stop/manage LXC (linux containers) ? Is it supported at all? Last I tried, had few issues and the reply was : Yes, it's supported, though still much work to do, but the basic is there. /// Note that libvirt lxc

Re: [libvirt-users] Using NFS to read image file

2011-02-11 Thread Osier Yang
于 2011年02月11日 18:31, Marcela Castro León 写道: Hello: When I start the guest with an image on NFS file system, the ubuntu doesn't boot, It's remain on inittrams. I've tried to redefine the guest without apic pae configuration as I see on a blog, and I've increased the parameters of the mount to

Re: [libvirt-users] libvirt, snapshots, LVM, and existing VMs

2011-02-05 Thread Osier Yang
于 2011年02月04日 01:02, Casey Link 写道: Sorry for the late, qemu driver only supports domain snapshotting when the disks' driver type is qcow2. e.g. disk... .. driver name=qemu type=qcow2/ .. /disk Ah, thanks. I assume this means I can't snapshot LVM backed domains at this

Re: [libvirt-users] libvirt, snapshots, LVM, and existing VMs

2011-01-30 Thread Osier Yang
于 2011年01月30日 06:18, Casey Link 写道: How to create the logical pool, refer to: http://libvirt.org/git/?p=libvirt.git;a=tree;f=tests/storagepoolxml2xmlin;h=92d08b31073ade34bc2112694219030130fc5bd1;hb=HEAD How to create the logical volume with backing store, refer to:

Re: [libvirt-users] invalid argument error when using cache parameter

2011-01-23 Thread Osier Yang
于 2011年01月22日 14:57, Igor Serebryany 写道: Actually, I only get the error when using cache='none' -- writethrough and writeback both work, and default works also but the cache parameter is gone from the driver element if I do a dumpxml. Hi, Igor, Could you check the disk cache support of your

Re: [libvirt-users] libvirt, snapshots, LVM, and existing VMs

2011-01-23 Thread Osier Yang
于 2011年01月23日 16:01, Casey Link 写道: Hello, I am running libvirt 0.8.3 with a couple VMs using a LVM VG that I had previously setup on my host. I did not use the storage pool functionality of libvirt to create the VG in the first place ('pool-list' is empty). Now I want to be able to take

Re: [libvirt-users] git repository access via HTTPS

2011-01-20 Thread Osier Yang
于 2011年01月20日 22:55, Fyodor Kupchik 写道: Hi, I've just tried to do a fresh checkout (git clone) with libvirt sources tree and had no luck because it seems to be inaccessible/non-existent at all. Is this temporary situation or I have to only use git:// proto? I'm asking because I'm sitting behind

Re: [libvirt-users] virt-install with --channel option inquiry

2011-01-19 Thread Osier Yang
于 2011年01月17日 18:51, Hongqing Yang 写道: hi, virt guys, This is Hongqing from Fedroa QA team. I try to forward the guest installation logs to host with virtio. I have used virsh editguestName to add a channel, it works fine. I think it would be better if I can initialize it when I create the

Re: [libvirt-users] list mac or IP of all guests NICs?

2011-01-18 Thread Osier Yang
于 2011年01月18日 04:45, Josiah Ritchie 写道: I'm trying to figure out how to use virsh (or something else) to list all the IP addresses (or MAC addresses if needed) for each virtual NIC, preferably with it domain affiliation also listed. Is this possible? == method 1: (simple but not reliable) #

Re: [libvirt-users] Xen/KVM guest disk sizes

2011-01-04 Thread Osier Yang
No specific virsh command or API to do this work. However, you could check it by: virsh # vol-info /var/lib/libvirt/images/f14.img Name: f14.img Type: file Capacity: 8.00 GB Allocation: 8.00 GB virsh # vol-info /var/lib/libvirt/images/mytest.qcow2 Name:

Re: [libvirt-users] Problems Installing KVM Guest + Console Access

2010-12-19 Thread Osier Yang
于 2010年12月17日 18:54, t...@specialistdevelopment.com 写道: Hi, Im having real issues with getting a kvm guest up and running on CentOS 5.5 I have expanded the iso to a path on my system as I have been told that the -x (extra arguments) will not work with the -cdrom option, so I am now using

Re: [libvirt-users] libvirt printing to stderr

2010-12-13 Thread Osier Yang
于 2010年12月13日 15:47, Matthias Bolte 写道: 2010/12/13 Osier Yangjy...@redhat.com: 于 2010年12月13日 13:43, Albert Hopkins 写道: I'm writing an app and using the Python bindings for libvirt. Everything is fine but, in some cases I need to call lookupByName(). There are a lot of times when the name

Re: [libvirt-users] libvirt printing to stderr

2010-12-12 Thread Osier Yang
于 2010年12月13日 13:43, Albert Hopkins 写道: I'm writing an app and using the Python bindings for libvirt. Everything is fine but, in some cases I need to call lookupByName(). There are a lot of times when the name will not exist, I trap the exception, however I still get this message printed to

Re: [libvirt-users] (no subject)

2010-11-16 Thread Osier Yang
于 2010年11月17日 00:51, David M. Barlieb 写道: HI, I’ve just begun using libvirt as part of my KVM installation and have been having some confusion regarding networking of my virtual guests. I’m not sure if I should even be sending this to this mailing list and if not please let me know and if

Re: [libvirt-users] Changing default nic and storage types

2010-11-16 Thread Osier Yang
于 2010年11月16日 21:30, Chris Phillips 写道: Hi, Simple question that I can't track down any notable discussion about, let alone an answer... Is it possible to define what the default nic and storage types are? I am deploying images out of cobbler using koan and all of them are running virtio

Re: [libvirt-users] network filtering

2010-11-16 Thread Osier Yang
于 2010年11月17日 15:42, Anton Gorlov 写道: 14.11.2010 23:19, Osier Yang пишет: virsh start freebsd8.2 error: Failed to start domain freebsd8.2 error: internal error IP parameter must be given since libvirt was not compiled with IP address learning support what do I do wrong? Just as the error says

Re: [libvirt-users] network filtering

2010-11-14 Thread Osier Yang
于 2010年11月13日 16:40, Anton Gorlov 写道: I try to add some rules to filtering network, example filterref filter='clean-traffic'/ or filterref filter='no-ip-spoofing'/ and vm not starting with message virsh start freebsd8.2 error: Failed to start domain freebsd8.2 error: internal error IP parameter

  1   2   >