From: Paolo Bonzini <pbonzini@redhat.com>
To: Andrew Jones <drjones@redhat.com>, Cornelia Huck <cohuck@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Pierre Morel" <pmorel@linux.ibm.com>,
"Pankaj Gupta" <pankaj.gupta.linux@gmail.com>,
qemu-devel@nongnu.org, "Markus Armbruster" <armbru@redhat.com>,
"Yanan Wang" <wangyanan55@huawei.com>,
yuzenghui@huawei.com, wanghaibin.wang@huawei.com
Subject: Re: [PATCH for-6.1 0/1] machine: Disallow specifying topology parameters as zero
Date: Thu, 22 Jul 2021 15:55:40 +0200 [thread overview]
Message-ID: <672e17d7-bfcc-8022-044a-54a482e3c5ee@redhat.com> (raw)
In-Reply-To: <20210722133759.db2kjcoucf6rsz4o@gator>
On 22/07/21 15:37, Andrew Jones wrote:
> This doesn't mention zero inputs and even implies non-zero inputs.
>
> I'm not sure if we need to worry about the odd command line that used zero
> for some parameters. What do you think?
I think I agree as well, however the patch that Yanan sent has
unnecessary duplication between smp_parse and pc_smp_parse.
machine_set_smp is a better place to implement this kind of check.
Paolo
next prev parent reply other threads:[~2021-07-22 13:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 2:15 [PATCH for-6.1 0/1] machine: Disallow specifying topology parameters as zero Yanan Wang
2021-07-22 2:15 ` [PATCH for-6.1 1/1] " Yanan Wang
2021-07-22 6:02 ` [PATCH for-6.1 0/1] " Cornelia Huck
2021-07-22 10:59 ` wangyanan (Y)
2021-07-22 13:37 ` Andrew Jones
2021-07-22 13:48 ` Cornelia Huck
2021-07-22 13:55 ` Paolo Bonzini [this message]
2021-07-22 14:12 ` wangyanan (Y)
2021-07-22 14:38 ` Paolo Bonzini
2021-07-22 15:00 ` wangyanan (Y)
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=672e17d7-bfcc-8022-044a-54a482e3c5ee@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=cohuck@redhat.com \
--cc=drjones@redhat.com \
--cc=ehabkost@redhat.com \
--cc=pankaj.gupta.linux@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=pmorel@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=wanghaibin.wang@huawei.com \
--cc=wangyanan55@huawei.com \
--cc=yuzenghui@huawei.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).