All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Allan <dallan@redhat.com>
To: will <mail278151237@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] problem in setting up vmchannel with libvirt
Date: Tue, 29 Nov 2011 12:54:00 -0500	[thread overview]
Message-ID: <20111129175400.GD4220@redhat.com> (raw)
In-Reply-To: <loom.20111129T104429-520@post.gmane.org>

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

      reply	other threads:[~2011-11-29 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  9:55 [Qemu-devel] problem in setting up vmchannel with libvirt will
2011-11-29 17:54 ` Dave Allan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111129175400.GD4220@redhat.com \
    --to=dallan@redhat.com \
    --cc=mail278151237@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.