Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-28 Thread Wei Liu
Please don't top-post. On Fri, Jul 24, 2015 at 10:05:20AM -0700, sainath grandhi wrote: > Hi Wei, >Thanks for your reply. Sorry I did not change the comment properly. > These are the two methods I tried separately. > > First method: > I see /dev/hvc1 and /dev/hvc2 being created when I gi

Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-24 Thread sainath grandhi
Hi Wei, Thanks for your reply. Sorry I did not change the comment properly. These are the two methods I tried separately. First method: I see /dev/hvc1 and /dev/hvc2 being created when I give two channels in the guest xl config file. So I wrote a program to open hvc1 and read like below. f

Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-24 Thread Wei Liu
On Thu, Jul 23, 2015 at 10:14:57AM -0700, sainath grandhi wrote: > Hello, > > Please let me know if you have some information about issue below. > > I created a channel device for PV guest using > > channel= ["connection=pty, name=xen.channel.0, > path=/var/lib/xen/ctl-socket","connectio

[Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-23 Thread sainath grandhi
Hello, Please let me know if you have some information about issue below. I created a channel device for PV guest using channel= ["connection=pty, name=xen.channel.0, path=/var/lib/xen/ctl-socket","connection=socket, name=xen.channel.1, path=/var/lib/xen/ctl-socket-data"] Xen toolsta