<div dir="ltr"><div>priyanka@priyanka-Lenovo-G510:~$ sudo mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/host_files</div><div>mount: wrong fs type, bad option, bad superblock on hostshare,</div><div> missing codepage or helper program, or other error</div><div> (for several filesystems (e.g. nfs, cifs) you might</div><div> need a /sbin/mount.<type> helper program)</div><div> In some cases useful info is found in syslog - try</div><div> dmesg | tail or so</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 25, 2015 at 10:42 PM, Christopher Covington <span dir="ltr"><<a href="mailto:cov@codeaurora.org" target="_blank">cov@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/25/2015 01:00 PM, Priyanka Naik wrote:<br>
> This command ran successfully. Now how to access files from guest??<br>
<br>
</span><a href="http://www.linux-kvm.org/page/9p_virtio" target="_blank">http://www.linux-kvm.org/page/9p_virtio</a><br>
<br>
mkdir /tmp/host_files<br>
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/host_files<br>
<span class=""><br>
> Another thing while accessing those files does my guest need to be shutdown??<br>
<br>
</span>I don't. It's based on a network filesystem.<br>
<br>
Chris<br>
<span class="im HOEnZb"><br>
> On Wed, Mar 25, 2015 at 10:15 PM, Christopher Covington <<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a><br>
</span><span class="im HOEnZb">> <mailto:<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a>>> wrote:<br>
><br>
> On 03/25/2015 12:25 PM, Priyanka Naik wrote:<br>
> ><br>
> > ---------- Forwarded message ----------<br>
</span><span class="im HOEnZb">> > From: *Priyanka Naik* <<a href="mailto:prnk.nk1@gmail.com">prnk.nk1@gmail.com</a> <mailto:<a href="mailto:prnk.nk1@gmail.com">prnk.nk1@gmail.com</a>> <mailto:<a href="mailto:prnk.nk1@gmail.com">prnk.nk1@gmail.com</a><br>
> <mailto:<a href="mailto:prnk.nk1@gmail.com">prnk.nk1@gmail.com</a>>>><br>
> > Date: Wed, Mar 25, 2015 at 9:54 PM<br>
> > Subject: Re: [CRIU] Criu Restore Error<br>
</span><div class="HOEnZb"><div class="h5">> > To: Christopher Covington <<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a> <mailto:<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a>> <mailto:<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a><br>
> <mailto:<a href="mailto:cov@codeaurora.org">cov@codeaurora.org</a>>>><br>
> ><br>
> ><br>
> > I got these errors after running following command :<br>
> ><br>
> > root@priyanka-Lenovo-G510:/usr/bin# qemu-system-x86_64 -m 1024 -s -hda<br>
> > vdisk.img -kernel /usr/src/linux-3.17.6/arch/x86_64/boot/bzImage -initrd<br>
> > /home/priyanka/tmp2/newinitrd.img -append "root=/dev/sda10" -name myguest<br>
> > -device virtio-serial -chardev socket,path=/tmp/foo,server,nowait,id=foo<br>
> > -device virtserialport,chardev=foo,name=org.fedoraproject.port.0 -fsdev<br>
> > local,security_model=passthrough,id=fsdev0,path=/tmp/share -device<br>
> > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare<br>
> ><br>
> ><br>
> > qemu-system-x86_64: -device<br>
> > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare: Virtio-9p Failed to<br>
> > initialize fs-driver with id:fsdev0 and export path:/tmp/share<br>
><br>
> This fixed this error for me:<br>
><br>
> mkdir /tmp/share<br>
><br>
> Note that this is a host machine path.<br>
><br>
> Chris<br>
<br>
--<br>
Qualcomm Innovation Center, Inc.<br>
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,<br>
a Linux Foundation Collaborative Project<br>
</div></div></blockquote></div><br></div>