* [Qemu-devel] problem in setting up vmchannel with libvirt
@ 2011-11-29 9:55 will
2011-11-29 17:54 ` Dave Allan
0 siblings, 1 reply; 2+ messages in thread
From: will @ 2011-11-29 9:55 UTC (permalink / raw)
To: qemu-devel
Hi,
I am trying to set up vmchannel between the host and guest os.
However, "sudo virsh start vm1" always gave me this error:
*************************************************************
error: Failed to start domain vm1
error: internal error Process exited while reading console log output: char
device redirected to /dev/pts/5
bind(unix:/tmp/foo): Permission denied
chardev: opening backend "socket" failed
*************************************************************
Related xml is:
*************************************************************
<channel type='unix'>
<source mode='bind' path='/tmp/foo'/>
<target type='virtio' name='channel.port.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
*************************************************************
I can succeed while I manually run the guest os by:
*************************************************************
sudo kvm -device virtio-serial \
-chardev socket,path=/tmp/foo,server,nowait,id=foo \
-device virtserialport,chardev=foo,name=org.fedoraproject.port.0\
/path/to/vm1.img
*************************************************************
I also noticed that libvirt is able to create socke
/var/lib/libvirt/qemu/vm1.monitor every time. I can't win even I change the unix
socket path to "/var/lib/libvirt/qemu/foo"
Any information will be appreciated!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] problem in setting up vmchannel with libvirt
2011-11-29 9:55 [Qemu-devel] problem in setting up vmchannel with libvirt will
@ 2011-11-29 17:54 ` Dave Allan
0 siblings, 0 replies; 2+ messages in thread
From: Dave Allan @ 2011-11-29 17:54 UTC (permalink / raw)
To: will; +Cc: qemu-devel
On Tue, Nov 29, 2011 at 09:55:32AM +0000, will wrote:
> Hi,
> I am trying to set up vmchannel between the host and guest os.
>
> However, "sudo virsh start vm1" always gave me this error:
> *************************************************************
> error: Failed to start domain vm1
> error: internal error Process exited while reading console log output: char
> device redirected to /dev/pts/5
> bind(unix:/tmp/foo): Permission denied
> chardev: opening backend "socket" failed
> *************************************************************
>
> Related xml is:
> *************************************************************
> <channel type='unix'>
> <source mode='bind' path='/tmp/foo'/>
> <target type='virtio' name='channel.port.0'/>
> <address type='virtio-serial' controller='0' bus='0' port='1'/>
> </channel>
> *************************************************************
>
> I can succeed while I manually run the guest os by:
> *************************************************************
> sudo kvm -device virtio-serial \
> -chardev socket,path=/tmp/foo,server,nowait,id=foo \
> -device virtserialport,chardev=foo,name=org.fedoraproject.port.0\
> /path/to/vm1.img
> *************************************************************
>
> I also noticed that libvirt is able to create socke
> /var/lib/libvirt/qemu/vm1.monitor every time. I can't win even I change the unix
> socket path to "/var/lib/libvirt/qemu/foo"
>
>
> Any information will be appreciated!
>
>
Try the libvirt-users list for questions like this one:
libvirt-users@redhat.com
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-29 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 9:55 [Qemu-devel] problem in setting up vmchannel with libvirt will
2011-11-29 17:54 ` Dave Allan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.