[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [PATCH RFC v2] Implements Backend Program conventions for vh
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] [PATCH RFC v2] Implements Backend Program conventions for vhost-user-scsi |
Date: |
Mon, 4 Apr 2022 09:29:29 +0100 |
On Mon, 4 Apr 2022 at 00:16, Sakshi Kaushik <sakshikaushik717@gmail.com> wrote:
> I have made the suggested changes and submitted v3.
> But I am not sure how to check this code by running it? When I try to run the
> .c code I get the error message: 'qemu/osdep.h' no such file or directory.
>
> I have followed the building step without error. Not sure if I'm doing it
> correctly.
The executable will be in
build/contrib/vhost-user-scsi/vhost-user-scsi after you run 'make'. If
you ran make from the root of the QEMU source tree you can run the
program like this:
$ build/contrib/vhost-user-scsi/vhost-user-scsi
This will let you check that the new command-line options work and
that the help output is updated.
The simplest way to check that vhost-user-scsi is listening on the
given UNIX domain socket path (--socket-path) or file descriptor
(--fd) is using:
$ netstat --unix --listening --program
This shows all processes that are listening on a UNIX domain socket.
You can search for the PID of the vhost-user-scsi process to see if
it's listed.
Stefan