public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Laine Stump <laine@laine.org>
To: libvir-list@redhat.com
Cc: sbrivio@redhat.com, passt-dev@passt.top,
	Michal Privoznik <mprivozn@redhat.com>
Subject: Re: [PATCH v2 0/5] qemu_passt: Fix issues with PID file
Date: Thu, 16 Feb 2023 11:35:02 -0500	[thread overview]
Message-ID: <69434668-306d-d29c-9ae1-81d474824f37@laine.org> (raw)
In-Reply-To: <cover.1676554196.git.mprivozn@redhat.com>

On 2/16/23 8:32 AM, Michal Privoznik wrote:
> This is a v2 of:
> 
> https://listman.redhat.com/archives/libvir-list/2023-February/237731.html
> 
> diff to v1:
> - Merged patches that were ACKed in v1,
> - Dropped 4/4 from the original series (the one that sets --foreground),
>    and implemented a different approach
> 
> Michal Prívozník (5):
>    qemu_passt: Avoid double daemonizing passt
>    qemu_passt: Report passt's error on failed start
>    qemu_passt: Make passt report errors to stderr whenever possible
>    qemu_passt: Deduplicate passt killing code
>    qemu_passt: Let passt write the PID file

This is everything that was in the patch I sent last week, with the 
following additions

1) adding NULLSTR() around the reference to errbuf in patch 2/5

2) adding "--stderr" to the commandline in patch 3/5 (which I found to 
be unnecessary in my testing - as Stefano says everything goes to stderr 
until passt has completed its init anyway)

3) the other bit of patch 3/5 which adds an extra message telling the 
user to look into the designated logfile for the error - this is 
unnecessary (and actually now counter-productive, as it forces you to 
look elsewhere for the error when you wouldn't have needed to) because 
of patches I've sent to passt.

4)  patch 4/5 that is a cleanup de-duplicating code

5) patch 5 changes additional code (that I didn't touch in my patch) to 
use virPidFileReadPath() instead of virPidFileReadPathIfLocked(), and 
virProcessKillPainfully() instead of the higher level 
virPidFileForceCleanupPath().

So it all seems fine (except the error reporting stuff), but why revert 
a patch only to push back the same changes in a deconstructed fashion 
plus some fixups, rather than just posting a followup or two?

> 
>   src/qemu/qemu_passt.c | 61 +++++++++++++++++++++++++++++--------------
>   1 file changed, 41 insertions(+), 20 deletions(-)
> 


  parent reply	other threads:[~2023-02-16 16:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 13:32 [PATCH v2 0/5] qemu_passt: Fix issues with PID file Michal Privoznik
2023-02-16 13:32 ` [PATCH v2 1/5] qemu_passt: Avoid double daemonizing passt Michal Privoznik
2023-02-16 16:06   ` Stefano Brivio
2023-02-16 16:34   ` Laine Stump
2023-02-16 13:32 ` [PATCH v2 2/5] qemu_passt: Report passt's error on failed start Michal Privoznik
2023-02-16 16:06   ` Stefano Brivio
2023-02-16 16:38   ` Laine Stump
2023-02-16 13:32 ` [PATCH v2 3/5] qemu_passt: Make passt report errors to stderr whenever possible Michal Privoznik
2023-02-16 15:42   ` Jonathon Jongsma
2023-02-16 16:21     ` Michal Prívozník
2023-02-16 22:48       ` David Gibson
2023-02-16 16:07   ` Stefano Brivio
2023-02-16 16:27     ` Michal Prívozník
2023-02-16 16:35       ` Stefano Brivio
2023-02-16 16:37       ` Laine Stump
2023-02-16 16:33   ` Laine Stump
2023-02-16 13:32 ` [PATCH v2 4/5] qemu_passt: Deduplicate passt killing code Michal Privoznik
2023-02-16 16:07   ` Stefano Brivio
2023-02-16 16:38     ` Michal Prívozník
2023-02-16 17:05       ` Stefano Brivio
2023-02-16 16:42   ` Laine Stump
2023-02-16 13:32 ` [PATCH v2 5/5] qemu_passt: Let passt write the PID file Michal Privoznik
2023-02-16 16:47   ` Laine Stump
2023-02-16 16:35 ` Laine Stump [this message]
2023-02-17 12:51   ` [PATCH v2 0/5] qemu_passt: Fix issues with " Michal Prívozník

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=69434668-306d-d29c-9ae1-81d474824f37@laine.org \
    --to=laine@laine.org \
    --cc=libvir-list@redhat.com \
    --cc=mprivozn@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.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.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).