patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Dom Rodriguez <shymega@shymega.org.uk>
To: Alyssa Ross <hi@alyssa.is>
Cc: devel@spectrum-os.org
Subject: Re: [PATCH v3] crosvm: Rename `--vhost-user-gpu` flag
Date: Sat, 9 Nov 2024 01:44:19 +0000	[thread overview]
Message-ID: <sniii5jaf3knp2cazrowauszahshh6uuzzpvuc7p6eptcyuouh@difuu6tz233w> (raw)
In-Reply-To: <875xoyf04f.fsf@alyssa.is>

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

On 08.11.2024 12:14, Alyssa Ross wrote:
>Dom Rodriguez <shymega@shymega.org.uk> writes:
>
>> crosvm was producing warnings when using `--vhost-user-gpu` and
>> `--vhost-user-fs`, of which the former is fixable, but the latter
>> requires some more work. The latter will be patched later on.
>>
>> To mitigate the former, I have adjusted the `crosvm` invocations to look
>> something like `--vhost-user $DEVICE,socket=$PATH`, where `$DEVICE` is,
>> in this case, `gpu`, and `$PATH` is the path to the Unix socket.
>>
>> Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
>> ---
>>  img/app/Makefile | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/img/app/Makefile b/img/app/Makefile
>> index 7c3e3e8..db9fbea 100644
>> --- a/img/app/Makefile
>> +++ b/img/app/Makefile
>> @@ -167,7 +167,7 @@ run-crosvm: $(imgdir)/appvm/blk/root.img start-vhost-user-gpu start-virtiofsd
>>  	    -p "console=ttyS0 root=PARTLABEL=root" \
>>  	    --net tap-name=tap0 \
>>  	    --vhost-user-fs build/virtiofsd.sock:virtiofs0 \
>> -	    --vhost-user-gpu build/vhost-user-gpu.sock \
>> +	    --vhost-user gpu socket=build/vhost-user-gpu.sock \
>
>[2024-11-08T11:12:36.503808752+00:00 ERROR crosvm] arg parsing failed: Error parsing option '--vhost-user' with value 'gpu': missing field `socket`
>
>Is the space between "gpu" and "socket" supposed to be a comma, like in
>your commit message?

Good catch! Fixed the patch in v4. 

I've taken a look at the patch suggestion for vhost-user-fs - email
incoming.

I will also reply to the Flake email chain soon as well.

Best wishes,
--
Dom Rodriguez

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2024-11-09  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07  0:59 [PATCH v3] crosvm: Rename `--vhost-user-gpu` flag Dom Rodriguez
2024-11-08 11:14 ` Alyssa Ross
2024-11-09  1:44   ` Dom Rodriguez [this message]

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=sniii5jaf3knp2cazrowauszahshh6uuzzpvuc7p6eptcyuouh@difuu6tz233w \
    --to=shymega@shymega.org.uk \
    --cc=devel@spectrum-os.org \
    --cc=hi@alyssa.is \
    /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.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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).