<div dir="ltr">I got this working after I made guest to behave as serial device and host side program as unix socket based client.<div>Now all set to collaborate the BP with the use case.</div><div><br></div><div>Thanks,</div>
<div>-Ravi.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 8:09 AM, Ravi Chunduru <span dir="ltr"><<a href="mailto:ravivsn@gmail.com" target="_blank">ravivsn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am working on this generic virtio-serial interface for appliances. To start with I experimented on existing Wangpan's added feature on hw_qemu_guest agent. I am preparing to propose a blueprint to modify it for generic use and open to collaborate.<div>
<br><div>I could bring up VM with generic source path(say /tmp/appliance_port) and target name(appliance_port). But I see qemu listening on the unix socket in host as soon as I start the VM. If we want to have our server program on host listening, that should not happen. How do I overcome that?</div>
<div><br></div><div>Thanks,</div><div>-Ravi.</div><div> </div></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 3:01 AM, P Balaji-B37839 <span dir="ltr"><<a href="mailto:B37839@freescale.com" target="_blank">B37839@freescale.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u><u></u>
<div lang="EN-US" link="blue" vlink="purple" style="margin-left:.1in;margin-top:.1in;margin-right:.1in;margin-bottom:.1in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Wangpan,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for Information and suggestions.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">We want to have generic virtio-serial interface for Libvirt and applications can use this irrespective of Qemu Guest Agent in VM.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">As suggested, Daniel can throw some light on this and help us.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Balaji.P<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Wangpan [mailto:<a href="mailto:hzwangpan@corp.netease.com" target="_blank">hzwangpan@corp.netease.com</a>]
<br>
<b>Sent:</b> Wednesday, September 25, 2013 3:24 PM<br>
<b>To:</b> OpenStack Development Mailing List<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Libvirt] Virtio-Serial support for Nova libvirt driver<u></u><u></u></span></p>
</div>
</div><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-family:"SimSun","serif"">Hi all,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">I'm the owner of this bp<span style="font-size:8.0pt;font-family:"Arial","sans-serif""> </span><a href="https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"">https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support</span></a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">and Daniel Berrange gave me lots of help about implementing this bp, and the original idea of mine is the same as yours.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">So I think the opinion of Daniel will be very useful.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"> <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver">2013-09-25</span><u></u><u></u></p>
<div class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">
<hr size="2" width="122" style="width:73.2pt" align="left">
</span></div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver">Wangpan</span><u></u><u></u></p>
<div>
<div class="MsoNormal" align="center" style="margin:0in;margin-bottom:.0001pt;text-align:center">
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">
<hr size="3" width="100%" align="center">
</span></div>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><strong><span style="font-size:10.0pt;font-family:MingLiU">发件人:</span></strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">balaji patnala <<a href="mailto:patnala003@gmail.com" target="_blank">patnala003@gmail.com</a>></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><strong><span style="font-size:10.0pt;font-family:MingLiU">发送时间:</span></strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><a href="tel:2013-09-25%C2%A022" value="+12013092522" target="_blank">2013-09-25 22</a>:36</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><strong><span style="font-size:10.0pt;font-family:"MS Gothic"">主</span></strong><strong><span style="font-size:10.0pt;font-family:MingLiU">题:</span></strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Re:
[openstack-dev] [Nova] [Libvirt] Virtio-Serial support for Nova libvirt driver</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><strong><span style="font-size:10.0pt;font-family:"MS Gothic"">收件人:</span></strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">"OpenStack Development Mailing List"<<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><strong><span style="font-size:10.0pt;font-family:"MS Gothic"">抄送:</span></strong><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Hi Haomai,
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Thanks for your interest on this.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">The code check-ins done against the below bp are more specific to Qemu Guest Agent.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.0pt;font-family:"Arial","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><a href="https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"">https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support</span></a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Our requirement is to enable Virtio-Serial Interface to the applications running in VM.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Do you have the same requirement?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">We will share the draft BP on this.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Any comments on this approach will be helpful.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Balaji.P<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">On Tue, Sep 24, 2013 at 8:10 PM, Haomai Wang <<a href="mailto:haomai@unitedstack.com" target="_blank">haomai@unitedstack.com</a>>
wrote:<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><br>
On Sep 24, 2013, at 6:40 PM, P Balaji-B37839 <<a href="mailto:B37839@freescale.com" target="_blank">B37839@freescale.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> Virtio-Serial interface support for Nova - Libvirt is not available now. Some VMs who wants to access the Host may need like running qemu-guest-agent or any proprietary software want to use this mode of communication with Host.<br>
><br>
> Qemu-GA uses virtio-serial communication.<br>
><br>
> We want to propose a blue-print on this for IceHouse Release.<br>
><br>
> Anybody interested on this.<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Great! We have common interest and I hope we can promote it for IceHouse.<br>
<br>
BTW, do you have a initial plan or description about it.<br>
<br>
And I think this bp may invoke. <a href="https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support" target="_blank">
https://blueprints.launchpad.net/nova/+spec/qemu-guest-agent-support</a><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><br>
><br>
> Regards,<br>
> Balaji.P<br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Best regards,<br>
Haomai Wang, UnitedStack Inc.<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Ravi<br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ravi<br>
</div>