From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: John Snow <jsnow@redhat.com>, BALATON Zoltan <balaton@eik.bme.hu>,
qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: Eduardo Habkost <ehabkost@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Markus Armbruster <armbru@redhat.com>,
hpoussin@reactos.org,
Aleksandar Markovic <amarkovic@wavecomp.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Artyom Tarasenko <atar4qemu@gmail.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH v2 2/7] hw/ide: Get rid of piix4_init function
Date: Tue, 17 Mar 2020 15:01:48 +0100 [thread overview]
Message-ID: <549ffd77-a020-51c8-96e7-c4afc28ff633@redhat.com> (raw)
In-Reply-To: <2038186d-3f18-d430-2305-5697097397e9@redhat.com>
On 3/17/20 2:50 PM, John Snow wrote:
> On 3/17/20 6:49 AM, Philippe Mathieu-Daudé wrote:
>> On 3/17/20 11:41 AM, Philippe Mathieu-Daudé wrote:
>>> On 3/17/20 10:39 AM, BALATON Zoltan wrote:
>>>> This removes pci_piix4_ide_init() function similar to clean up done to
>>>> other ide devices.
>>>>
>>>> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
>>>> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
>>>> Reviewed-by: Markus Armbruster <armbru@redhat.com>
>>>
>>> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>>
>> Please disregard this tag (I withdraw it), I mis-read the pci variable
>> was not assigned.
>>
>
> Is there an issue you've noticed, or you are just no longer certain
> enough to give an RB?
I asked Zoltan there why he was reassigning 'pci' and he replied here:
https://www.mail-archive.com/qemu-block@nongnu.org/msg63324.html
I don't know enough the PCI API (and don't have time this week to dig
into it) to check how pci->devfn is used (is it populated by a
pci_create() call?).
pci = pci_create_simple_multifunction(pci_bus, PCI_DEVFN(10, 0),
true, TYPE_PIIX4_PCI_DEVICE);
...
+ pci = pci_create_simple(pci_bus, pci->devfn + 1, "piix4-ide");
...
pci_create_simple(pci_bus, pci->devfn + 2, "piix4-usb-uhci");
What annoys me is here -------^^^^^^ I don't know if reassigning the pci
variable can have an impact, so as I am not confident I prefer to
withdraw my review tag.
Since the patch already has 2 R-b I'm not going to NAck it neither.
next prev parent reply other threads:[~2020-03-17 14:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 9:39 [PATCH v2 0/7] Misc hw/ide legacy clean up BALATON Zoltan
2020-03-17 9:39 ` [PATCH v2 1/7] hw/ide: Get rid of piix3_init functions BALATON Zoltan
2020-03-17 9:39 ` [PATCH v2 6/7] hw/ide: Move MAX_IDE_DEVS define to hw/ide/internal.h BALATON Zoltan
2020-03-17 14:22 ` John Snow
2020-03-17 14:24 ` BALATON Zoltan
2020-03-17 14:27 ` John Snow
2020-03-17 9:39 ` [PATCH v2 7/7] hw/ide: Remove unneeded inclusion of hw/ide.h BALATON Zoltan
2020-03-17 9:39 ` [PATCH v2 3/7] hw/ide: Remove now unneded #include "hw/pci/pci.h" from hw/ide.h BALATON Zoltan
2020-03-17 9:39 ` [PATCH v2 4/7] hw/ide/pci.c: Coding style update to fix checkpatch errors BALATON Zoltan
2020-03-17 9:39 ` [PATCH v2 2/7] hw/ide: Get rid of piix4_init function BALATON Zoltan
2020-03-17 10:41 ` Philippe Mathieu-Daudé
2020-03-17 10:49 ` Philippe Mathieu-Daudé
2020-03-17 13:50 ` John Snow
2020-03-17 14:01 ` Philippe Mathieu-Daudé [this message]
2020-03-17 14:07 ` BALATON Zoltan
2020-03-17 14:10 ` Philippe Mathieu-Daudé
2020-03-17 14:41 ` Mark Cave-Ayland
2020-03-17 14:05 ` BALATON Zoltan
2020-03-17 14:09 ` John Snow
2020-03-17 9:39 ` [PATCH v2 5/7] hw/ide: Do ide_drive_get() within pci_ide_create_devs() BALATON Zoltan
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=549ffd77-a020-51c8-96e7-c4afc28ff633@redhat.com \
--to=philmd@redhat.com \
--cc=amarkovic@wavecomp.com \
--cc=armbru@redhat.com \
--cc=atar4qemu@gmail.com \
--cc=balaton@eik.bme.hu \
--cc=ehabkost@redhat.com \
--cc=hpoussin@reactos.org \
--cc=jsnow@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).