From: "Liu, Jing2" <jing2.liu@linux.intel.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, yang.zhong@intel.com
Subject: Re: [Qemu-devel] [Consult] nfs-vsocks support
Date: Mon, 26 Mar 2018 18:12:44 +0800 [thread overview]
Message-ID: <1e0e5f9b-18b4-7f0f-dbd1-696ef1f7039c@linux.intel.com> (raw)
In-Reply-To: <20180323160252.GA27131@stefanha-x1.localdomain>
Hi Stefan,
Thank you very much for the response! It truly gave me much help.
On 3/24/2018 12:02 AM, Stefan Hajnoczi wrote:
> On Fri, Mar 23, 2018 at 05:54:53PM +0800, Liu, Jing2 wrote:
>> I am currently trying to use nfs-vsocks on x86 for vitural machine
>> filesystem by some manuals on
>> https://www.spinics.net/lists/linux-nfs/msg64563.html
>> and https://lwn.net/Articles/647516/
>>
[...]
>
>> 3. For the 5th step (Start nfsd), I'd like to know the rpc.nfsd --vsock is
>> enabled by which codes? Is it the CONFIG_VHOST_VSOCK kernel module in host?
>> Because I installed the kernel with vsock-nfs repo with the specified config
>> options but failed to do rpc.nfsd --vsock.
>>
>>
>> Could you give me some help and thanks in advance!
>
> Here is a script that launches nfsd and runs a guest:
> https://github.com/stefanha/linux/commit/38cbc15661a6dd44b69c4f318091f2047d707035#diff-05f3fe8941076453942a8c059b409009
I have updated both host and guest kernel with vsock-nfsd repo and
installed nfs-utils in both host and guest successfully.
There're two different manuals in
https://www.spinics.net/lists/linux-nfs/msg64563.html(Quickstart 3~7)
and nfs-utils (README step 3 DAEMON STARTUP ORDER).
Which one should be the best usage?
For the first quickstart manual step 7-Mount the export from the guest,
two questions as follows.
1. why hypervisor's CID is 2? I didn't notice when it is specified?
2. Though I did step 3~7 successfully, I can't see the synchronistical
changing on host folder /export/ and guest /mnt? So how to test the
communcation between host and guest on the folder?
Thanks again!
Jing
>
> Regarding rpc.nfsd, on my Fedora 27 system rfc.nfsd is launched by
> /usr/lib/systemd/system/nfs.service. When developing NFS over AF_VSOCK
> I disable the NFS service and launch nfsd manually from the script
> above.
>
> Stefan
>
next prev parent reply other threads:[~2018-03-26 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 9:54 [Qemu-devel] [Consult] nfs-vsocks support Liu, Jing2
2018-03-23 16:02 ` Stefan Hajnoczi
2018-03-26 10:12 ` Liu, Jing2 [this message]
2018-03-28 11:25 ` Liu, Jing2
2018-04-04 9:45 ` Stefan Hajnoczi
2018-04-16 6:21 ` Liu, Jing2
-- strict thread matches above, loose matches on Subject: below --
2018-04-16 23:45 Roy, Arindam
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=1e0e5f9b-18b4-7f0f-dbd1-696ef1f7039c@linux.intel.com \
--to=jing2.liu@linux.intel.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=yang.zhong@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).