[libvirt-users] 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 2013-04-09 03:23:47.296+: 2669:

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

2013-04-08 Thread Yin Olivia-R63875
Hi Doug, When installing netcat-openbsd on my target PPC board, it could support ssh remote connection from the same architecture. root@ppc-host:~# virsh -c qemu+ssh://root@localhost/system list root@localhost's password: IdName State --

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-08 Thread Matt LaPlante
I'm attaching a basic diagram for the topology I'm having the issue with. Guest 1 and Guest 2 are both KVM guests. Guest 1 is the network router with interfaces to the LAN and WAN on the host. Guest 2 is just a regular KVM guest with no routing/forwarding; it shares the LAN interface on the host

Re: [libvirt-users] libvirt, selinux, moving images to ~/images does not work

2013-04-08 Thread Alexey Kardashevskiy
On 04/09/2013 06:09 AM, Eric Blake wrote: On 04/08/2013 01:14 AM, Alexey Kardashevskiy wrote: Hi! Setting security_driver to "none" (instead of "selinux") fixed the problem so I presumed that selinux is the problem here. But you're right after all, this helped: [root@vpl2 ~]# chmod 777 /home/a

[libvirt-users] can remote libvirt applications make non-blocking API calls

2013-04-08 Thread arvind viswanathan
Hi, I wanted to check if event loop integration was supported even for remote applications using libvirt. My application would like to make non-blocking calls and also recv asynchronous notification remotely. Can some one point out if its supported. thanks Arvind ___

[libvirt-users] How to device port on the controller

2013-04-08 Thread Daniele Testa
Hi, I am adding a disk to my KVM virtual server, but for some reason it refuses to honor the I have tried the following 3: my-fake-serial my-fake-serial my-fake-serial

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-08 Thread Will Dennis
Thanks, Laine, for your reply. The OVS bridge named 'vl20-ovsbr0' does exist, but it is an Open vSwitch "fake bridge" -- see http://blog.scottlowe.org/2012/10/19/vlans-with-open-vswitch-fake-bridge s/ for why I'm doing this. Here's some relevant output from my system: # ifconfig | grep encap eth0

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-08 Thread Laine Stump
On 04/04/2013 10:48 PM, Matt LaPlante wrote: > I have three hosts running Ubuntu 12.04 (libvirt 0.9.8). The > configuration is one host running on bare metal while the other two > are KVM guests. > > The first guest is my network router. It has a direct connection to a > physical nic going out to

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-08 Thread Laine Stump
On 04/08/2013 02:44 PM, Will Dennis wrote: > Update: I have upgraded from libvirt 0.9.8 on the virtualization server > to libvirt 1.0.4. Now the net-define command works with the "virtualport > type='openvswitch'" directive in it. So I did a "net-edit" on the > networks, added that line in, and sav

Re: [libvirt-users] libvirt, selinux, moving images to ~/images does not work

2013-04-08 Thread Eric Blake
On 04/08/2013 01:14 AM, Alexey Kardashevskiy wrote: > Hi! > > Setting security_driver to "none" (instead of "selinux") fixed the > problem so I presumed that selinux is the problem here. But you're right > after all, this helped: > > [root@vpl2 ~]# chmod 777 /home/aik/ > [root@vpl2 ~]# chmod 777

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-08 Thread Will Dennis
Update: I have upgraded from libvirt 0.9.8 on the virtualization server to libvirt 1.0.4. Now the net-define command works with the "virtualport type='openvswitch'" directive in it. So I did a "net-edit" on the networks, added that line in, and saved them. So now I am assuming libvirt knows that th

Re: [libvirt-users] VNC Server in libvirt

2013-04-08 Thread Javi Legido
Hola Jaime. This question goes better to libvir-l...@redhat.com . Cheers. Javier 2013/4/8 Jaime Loureiro Acuña > My name is Jaime Loureiro and I work in the Network & Applications area in > University of Vigo. I am writing to you hoping yo

[libvirt-users] VNC Server in libvirt

2013-04-08 Thread Jaime Loureiro Acuña
My name is Jaime Loureiro and I work in the Network & Applications area in University of Vigo. I am writing to you hoping you can help me with some libvirt graphics issues. I was analysing the source code of the libvirt in order to find how to access the display of each virtual machine. We are try

[libvirt-users] when save the domain, the following errors occured

2013-04-08 Thread Wangkai (Kevin,C)
Hi, I have create one vm by libvirt api, And I goto virsh, when I doing save the domain, the following errors occurred: virsh # save demo2 /home/wk/libvirt/demo2.save error: Failed to save domain demo2 to /home/wk/libvirt/demo2.save error: internal error unable to send file handle 'migrate': No f

Re: [libvirt-users] reset = destroy start

2013-04-08 Thread Michal Privoznik
On 07.04.2013 09:44, 邓焕聪 wrote: > what is different between destroy -> start and reset in virsh? > > i meet this position , when i reset a domain, it cannot start , it > stoped at initialize initd. > but when i destory it ,and start it , it can run normally. > > i am very confuse about them. >

Re: [libvirt-users] libvirt, selinux, moving images to ~/images does not work

2013-04-08 Thread Alexey Kardashevskiy
Hi! Setting security_driver to "none" (instead of "selinux") fixed the problem so I presumed that selinux is the problem here. But you're right after all, this helped: [root@vpl2 ~]# chmod 777 /home/aik/ [root@vpl2 ~]# chmod 777 /home/aik/virtimg/ Thanks! On 04/08/2013 05:06 PM, yue wrote

Re: [libvirt-users] libvirt, selinux, moving images to ~/images does not work

2013-04-08 Thread yue
Hi, im my case , it works. MAC is after DAC, so you should confirm libvird has the permission to your home dir. thanks At 2013-04-08 14:53:36,"Alexey Kardashevskiy" wrote: >Hi! > >I am trying libvirt on POWERPC64 with the default settings such as selinux >enabled. It is all good till I mo