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 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 there any way to get

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 this

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-11 Thread Marcela Castro León
Hello It's working now. I've put the mac address in the xml definition. Thank you very much, Regards. 2011/2/10 Laine Stump > On 02/10/2011 09:51 AM, Tanguy ROZIER wrote: > >> OK so he should fix the problem with libvirt to associate a fixed MAC >> to the interface of the VM : >> >> >> >>

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 : cpu_aidle

[libvirt-users] Using NFS to read image file

2011-02-11 Thread 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 configuration as I see on a blog, and I've increased the parameters of the mount to rsize=32768 and wsize=32768, but it still doesn't work. C

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

2011-02-11 Thread Peter Phaal
I don't believe that libvirt provides access to that level of detail for guest VMs. You might want to look at Host sFlow: http://host-sflow.sourceforge.net/ Installed on the hypervisor, it exports detailed statistics for the server as well as the standard libvirt metrics for each guest. Installed

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

2011-02-11 Thread Bryan D. Payne
> Though it's not that convenient as you have a independant monitor to talk > directly, you could use "qemu-monitor-command" of communicate > with the qemu monitor. And with the latest qemu, which supports monitor > command "human-monitor-command", it's more compact, e.g. Very interesting, thanks

[libvirt-users] LXC libvirt support

2011-02-11 Thread 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 : /// Note that libvirt lxc driver is a different implementation from lxc tools and doesn't use lxc tools internally. You may not be able to do what you

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 drive

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 configuration as I see on a blog, and I've increased the parameters of the mount to rsize=327