[libvirt] libvirt-1.0.3 vs qemu-1.4

2013-04-18 Thread Yin Olivia-R63875
Hi guys, I used to go through libvirt (1.0.3) use cases with qemu-1.0 + linux-3.0.43. Recently I tried Linux-3.8.4 + qemu-1.4. But it can't start qemu domain. - root@p1022ds:~# virsh version Compiled against library: libvirt 1.0.3 Using library: libvirt 1.0.3

Re: [libvirt] fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown

2013-04-11 Thread Yin Olivia-R63875
/qemuxml2argvdata user@x86:~/libvirt-1.0.4/tests/qemuxml2argvdata $ virsh domxml-to-native qemu-argv qemuxml2argv-disk-virtio.xml 1.dom error:An error occurred, but the cause is unknown Best Regards, Olivia -Original Message- From: Yin Olivia-R63875 Sent: Thursday, April 11, 2013 10

Re: [libvirt] fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown

2013-04-10 Thread Yin Olivia-R63875
Hi Daniel, Just Ping. Did you ever successfully convert QEMU xml file to argv on other platforms? Best Regards, Olivia -Original Message- From: Yin Olivia-R63875 Sent: Tuesday, April 09, 2013 1:22 PM To: 'libvir-list@redhat.com' Cc: 'libvirt-us...@redhat.com' Subject: fail

[libvirt] fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown

2013-04-08 Thread Yin Olivia-R63875
Hi, I used to convert qemu XML to args with libvirt-1.0.3. But it failed to convert with libvirt-1.0.4. # virsh domxml-to-native qemu-argv test.xml test.sh error: An error occurred, but the cause is unknown Comparing the debug file as below: 1) lbvirt-1.0.3 cut 2013-04-09 03:23:47.296+:

Re: [libvirt] [PATCH 2/2] LXC: rework mounting cgroupfs in container

2013-04-07 Thread Yin Olivia-R63875
, 2013 7:29 PM To: Gao feng Cc: libvir-list@redhat.com; Yin Olivia-R63875 Subject: Re: [PATCH 2/2] LXC: rework mounting cgroupfs in container On Fri, Apr 05, 2013 at 10:16:43AM +0800, Gao feng wrote: On 2013/03/27 13:26, Gao feng wrote: On 2013/03/20 16:14, Gao feng wrote: There are 3

Re: [libvirt] migrate qemu domains

2013-04-01 Thread Yin Olivia-R63875
Olivia-R63875 Cc: libvir-list@redhat.com; libvirt-us...@redhat.com Subject: Re: [libvirt] migrate qemu domains On 2013年03月28日 20:06, Yin Olivia-R63875 wrote: Hi, I tried to migrate qemu domains between same two Freescale PPC platforms. 1) Migrate test domain from Host1(10.193.20.109

[libvirt] migrate qemu domains

2013-03-28 Thread Yin Olivia-R63875
Hi, I tried to migrate qemu domains between same two Freescale PPC platforms. 1) Migrate test domain from Host1(10.193.20.109) to Host2(10.193.20.181). root@ppc-host1:~# virsh migrate test qemu+tls://10.193.20.181/system or root@ppc-host2:~# virsh -c qemu+tls://10.193.20.109/system migrate test

Re: [libvirt] remote connection issue 'virsh -c qemu+ssh:///root@localhost/system list'

2013-03-22 Thread Yin Olivia-R63875
] On Behalf Of Doug Goldstein Sent: Friday, March 22, 2013 1:59 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com; libvirt-us...@redhat.com Subject: Re: [libvirt] remote connection issue 'virsh -c qemu+ssh:///root@localhost/system list' On Thu, Mar 21, 2013 at 6:23 AM, Yin Olivia-R63875 r63

[libvirt] remote connection issue 'virsh -c qemu+ssh:///root@localhost/system list'

2013-03-21 Thread Yin Olivia-R63875
Hi, I'm trying remote connection with qemu hypervisor on FSL PPC board. The libvirt server is the PPC board. root@ppc:~# ifconfig eth0 10.193.20.109 root@ppc:~# libvirtd -d root@ppc:~# virsh -c qemu:///system define test.xml root@ppc:~# virsh -c qemu:///system start test root@ppc:~# virsh -c

Re: [libvirt] [PATCH v5 2/3] qemu: add dtb option supprt

2013-03-19 Thread Yin Olivia-R63875
- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Wednesday, March 20, 2013 5:24 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH v5 2/3] qemu: add dtb option supprt On 03/13/2013 10:49 PM, Olivia Yin wrote: The dtb option sets the filename

Re: [libvirt] [PATCH] qemu: add PCI-multibus support for ppc

2013-03-19 Thread Yin Olivia-R63875
Hi Daniel, PPC also supports PCI multibus. Could you please help review this patch? Best Regards, Olivia -Original Message- From: Yin Olivia-R63875 Sent: Wednesday, March 13, 2013 12:44 PM To: libvir-list@redhat.com Cc: Yin Olivia-R63875 Subject: [PATCH] qemu: add PCI-multibus

Re: [libvirt] [PATCH v5 0/3] qemu: -dtb option support

2013-03-18 Thread Yin Olivia-R63875
Hi Eric Daniel, Could you please help review these patches? Best Regards, Olivia -Original Message- From: Yin Olivia-R63875 Sent: Thursday, March 14, 2013 12:50 PM To: libvir-list@redhat.com Cc: Yin Olivia-R63875 Subject: [PATCH v5 0/3] qemu: -dtb option support Since v1.1

Re: [libvirt] [PATCH v3 2/4] qemu: add dtb capability

2013-03-13 Thread Yin Olivia-R63875
Hi Eric, Thanks for the comments. Could you please help review the next version? Best Regards, Olivia -Original Message- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Thursday, February 28, 2013 1:02 AM Cc: Yin Olivia-R63875; libvir-list@redhat.com Subject: Re: [libvirt] [PATCH

Re: [libvirt] [PATCH v3 1/4] QEMU: add -dtb option support

2013-03-13 Thread Yin Olivia-R63875
Hi Daniel, Thanks. I've submit v4 version of these patches. Best Regards, Olivia -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Thursday, February 28, 2013 1:08 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH v3 1/4

Re: [libvirt] failed to mount cgroup

2013-03-13 Thread Yin Olivia-R63875
Regards, Olivia -Original Message- From: Gao feng [mailto:gaof...@cn.fujitsu.com] Sent: Thursday, March 07, 2013 4:58 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] failed to mount cgroup On 2013/03/07 16:45, Yin Olivia-R63875 wrote: cgroup on /sys/fs

Re: [libvirt] [PATCH v4 0/2] qemu: -dtb option support

2013-03-13 Thread Yin Olivia-R63875
Hi Daniel, Thank you very much for the guide. Best Regards, Olivia -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Thursday, March 14, 2013 12:56 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH v4 0/2] qemu: -dtb

Re: [libvirt] [PATCH v4 1/2] qemu: add support for dtb option

2013-03-13 Thread Yin Olivia-R63875
-Original Message- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Thursday, March 14, 2013 6:48 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH v4 1/2] qemu: add support for dtb option On 03/12/2013 10:35 PM, Olivia Yin wrote: Signed-off

Re: [libvirt] failed to mount cgroup

2013-03-08 Thread Yin Olivia-R63875
Thanks, It works now. Best Regards, Olivia -Original Message- From: Gao feng [mailto:gaof...@cn.fujitsu.com] Sent: Thursday, March 07, 2013 4:58 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] failed to mount cgroup On 2013/03/07 16:45, Yin Olivia

Re: [libvirt] failed to mount cgroup

2013-03-07 Thread Yin Olivia-R63875
-Original Message- From: Gao feng [mailto:gaof...@cn.fujitsu.com] Sent: Tuesday, March 05, 2013 5:29 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] failed to mount cgroup On 2013/03/05 14:43, Yin Olivia-R63875 wrote: Hi, I tried to run libvirt-1.0.2

[libvirt] failed to mount cgroup

2013-03-04 Thread Yin Olivia-R63875
Hi, I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount cgroup. 1). mount /cgroup # mkdir /cgroup # mount -t cgroup cgroup /cgroup # vi vm1.xml domain type='lxc' namevm1/name memory32768/memory os typeexe/type init/bin/sh/init /os vcpu1/vcpu clock

Re: [libvirt] [PATCH] add dtb support

2013-02-27 Thread Yin Olivia-R63875
Thanks for the comments. Best Regards, Olivia -Original Message- From: car...@cardoe.com [mailto:car...@cardoe.com] On Behalf Of Doug Goldstein Sent: Wednesday, February 27, 2013 1:06 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH] add dtb

Re: [libvirt] [PATCH v3 2/4] qemu: add dtb capability

2013-02-27 Thread Yin Olivia-R63875
Hi Eric, Thanks for your comments. -Original Message- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Thursday, February 28, 2013 12:57 AM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] [PATCH v3 2/4] qemu: add dtb capability On 02/27/2013 01:28 AM

[libvirt] The console can't capture user's input. Is it readonly or read/write?

2013-02-22 Thread Yin Olivia-R63875
Hi Daniel, Since there's no machine serial port for FSL PowerPC board, I just use '-serial' option for ppc architecture. libvirt-0.10.1/src/qemu/qemu_command.c: @@ -5491,7 +5491,8 @@ /* Use -chardev with -device if they are available */ if (qemuCapsGet(qemuCaps,

Re: [libvirt] How to connect to console of domain on PowerPC?

2013-02-06 Thread Yin Olivia-R63875
-Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Tuesday, February 05, 2013 6:18 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] How to connect to console of domain on PowerPC? On Tue, Feb 05, 2013 at 03:05:58AM +, Yin

[libvirt] Failed to to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused

2013-02-06 Thread Yin Olivia-R63875
Hi, I tried to build and run libvirt-1.0.1 on FSL PowerPC platform. The connection to '/var/run/libvirt/libvirt-sock' is always refused. # libvirtd -d # export LIBVIRT_DEBUG=1 # export LIBVIRT_LOG_OUTPUTS=1:file:virsh.log # virsh -c qemu:///system list 2013-01-10 04:55:20.409+: 2574: info :

[libvirt] How to connect to console of domain on PowerPC?

2013-02-04 Thread Yin Olivia-R63875
Hi, I tried to use libvirt to run KVM/QEMU on Freescale PowerPC platforms. So far there's only one serial device (spapr-vty) defined in QEMU to work as console for IBM PSeries platform. There's no serial device support in QEMU for Freescale PowerPC (ePAPR). libvirt/src/qemu/qemu_command.c /*

Re: [libvirt] How to connect to console of domain on PowerPC?

2013-02-04 Thread Yin Olivia-R63875
Connected to domain vm2 Escape character is ^] Do you have any suggestion? Best Regards, Olivia -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Monday, February 04, 2013 6:19 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: [libvirt] How

[libvirt] How to connect to console of domain on PowerPC?

2013-02-03 Thread Yin Olivia-R63875
Hi, I tried to use libvirt to run KVM/QEMU on Freescale PowerPC platforms. So far there's only one serial device (spapr-vty) defined in QEMU to work as console for IBM PSeries platform. There's no serial device support in QEMU for Freescale PowerPC (ePAPR). libvirt/src/qemu/qemu_command.c /*