Re: [libvirt-users] help about migration with libvirt

2013-12-03 Thread lei yang
On Wed, Dec 4, 2013 at 12:00 AM, Eric Blake wrote: > On 12/03/2013 12:52 AM, Nicolas Sebrecht wrote: > > > This is about CPU affinity. You may look at CPU pinning with 'vcpupin' > > in the manual of virsh. It is possible to enable vCPU pinning in libvirt > > guest XML. > > > > Don't know if libvi

Re: [libvirt-users] help about migration with libvirt

2013-12-03 Thread lei yang
On Tue, Dec 3, 2013 at 3:52 PM, Nicolas Sebrecht wrote: > The 03/12/13, lei yang wrote: > >Hi experts > > > >I want to use libvirt doing the migration > > Basically, migration allows moving a VM from host to another. > > >migration the guest from

[libvirt-users] help about migration with libvirt

2013-12-02 Thread lei yang
Hi experts I want to use libvirt doing the migration migration the guest from core 0 to core 2, Is there a way to do this ? any points? Lei ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] how to boot the lxc container with a default ip

2013-09-26 Thread lei yang
Hi expert my xml is vm1 50 exe /bin/sh 1 destroy restart destroy /usr/libexec/libvirt_lxc I want start the guest with a ip=192.168.122.22 how could I modify the xml ? Lei ___ libvirt-

Re: [libvirt-users] how to know one domain is defined or not

2013-01-17 Thread lei yang
Thanks, works for me Lei On Thu, Jan 17, 2013 at 10:01 PM, Michal Privoznik wrote: > virsh list --persistent --all ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] how to know one domain is defined or not

2013-01-17 Thread lei yang
Hi experts I want to write a script to determine one domain named "vm1" is defined or not, if defined, I will undefine it. The question is how could I know it define or not ? Lei ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redh

Re: [libvirt-users] can someone explain why the domain, function bus, slot function is used in this xml

2013-01-03 Thread lei yang
On Wed, Jan 2, 2013 at 8:51 AM, Eric Blake wrote: > On 01/02/2013 09:43 AM, lei yang wrote: > >> >> 1)I'm using guest as guest,I don't assgin address(disk or nic) to >> guest,but it works well, any risk here? > > No - libvirt intentionally allows you

Re: [libvirt-users] can someone explain why the domain, function bus, slot function is used in this xml

2013-01-02 Thread lei yang
On 1/2/13, Daniel P. Berrange wrote: > On Wed, Jan 02, 2013 at 08:31:59PM +0800, lei yang wrote: >> I don't understand the domain bus slot fuction in below xml,becase, >> this is used when deal with management of host devices that can be >> handed to guests via passt

[libvirt-users] can someone explain why the domain, function bus, slot function is used in this xml

2013-01-02 Thread lei yang
I don't understand the domain bus slot fuction in below xml,becase, this is used when deal with management of host devices that can be handed to guests via passthrough as elements in the domain XML.( from http://libvirt.org/formatnode.html) I don't see it use passthrough feature, why it has "doma

[libvirt-users] help about libvirt console

2012-07-24 Thread lei yang
Hi list, My xml is like below, it works well with "virsh console qemu1" qemu1 1024000 512000 1 hvm /boot/bzImage console=ttyS0 root=/dev/hda rw I want to use virtio console, so I change then I do #vir

Re: [libvirt-users] qemu-kvm fails on RHEL6

2012-07-02 Thread lei yang
have you resolve this isse I met the same issue as you qemu-system-x86_64: -netdev tap,id=idafPmQW,fd=21: TUNGETIFF ioctl() failed: Inappropriate ioctl for device Thanks Lei On Fri, Apr 6, 2012 at 4:36 PM, sumit sengupta wrote: > Hi, > > When I'm trying to run qemu-kvm command on RHEL6(linux k

[libvirt-users] When IPv6 is disabled, libvirtd cannot start on boot

2012-01-12 Thread Lei Yang
e point me out, Thanks. My OS: Linux 3.1.7-1-ARCH /etc/rc.conf: DAEMONS=(hwclock dbus syslog-ng network netfs crond sshd libvirtd) -- Lei Yang ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] virt-install Error

2012-01-12 Thread Lei Yang
l 125294 0 kvm 339258 1 kvm_intel -- Lei Yang On 2012年1月12日Thursday at 下午11:04, kendennit wrote: > I did not start any VM. My intention is to check the virt-install command to > make sure all packages and tools are in place. > So basically, I expect

Re: [libvirt-users] virt-install Error

2012-01-12 Thread Lei Yang
_intel 36839 0 - Live 0xa016c000 > kvm 149478 1 kvm_intel, Live 0xa0137000 > > has anyone encountered similar issues while using libvirt tools? > am I missing something w.r.t installation? > > Appreciate your feedback. > > Thank