From: "Michael S. Tsirkin" <mst@redhat.com>
To: Chao Peng <chao.p.peng@linux.intel.com>
Cc: qemu-devel@nongnu.org, Richard Henderson <rth@twiddle.net>,
Paolo Bonzini <pbonzini@redhat.com>,
Eduardo Habkost <ehabkost@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 4/4] q35: introduce q35-lite
Date: Sun, 6 Nov 2016 09:06:31 +0200 [thread overview]
Message-ID: <20161106090458-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1478330391-74060-5-git-send-email-chao.p.peng@linux.intel.com>
On Sat, Nov 05, 2016 at 03:19:51AM -0400, Chao Peng wrote:
> This patch introduces a light weight machine type which shares the
> same codebase with existing q35 machine type but with some features
> disabled by default.
>
> Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
I don't find this too useful, but if others do and send acks, I'll merge
it, but only if it also has migration disabled.
> ---
> hw/i386/pc_q35.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
> index d042fe0..1c6b476 100644
> --- a/hw/i386/pc_q35.c
> +++ b/hw/i386/pc_q35.c
> @@ -276,6 +276,15 @@ static void pc_q35_init(MachineState *machine)
> }
> }
>
> +static void pc_q35_lite_init(MachineState *machine)
> +{
> + PCMachineState *pcms = PC_MACHINE(machine);
> +
> + pcms->smbus = false;
> + pcms->sata = false;
> + pcms->pit = false;
> +}
> +
> #define DEFINE_Q35_MACHINE(suffix, name, compatfn, optionfn) \
> static void pc_init_##suffix(MachineState *machine) \
> { \
> @@ -301,6 +310,15 @@ static void pc_q35_machine_options(MachineClass *m)
> m->max_cpus = 288;
> }
>
> +static void pc_q35_lite_machine_options(MachineClass *m)
> +{
> + pc_q35_machine_options(m);
> + m->alias = "q35-lite";
> +}
> +
> +DEFINE_Q35_MACHINE(lite, "pc-q35-lite", pc_q35_lite_init,
> + pc_q35_lite_machine_options);
> +
> static void pc_q35_2_8_machine_options(MachineClass *m)
> {
> pc_q35_machine_options(m);
> --
> 1.8.3.1
next prev parent reply other threads:[~2016-11-06 7:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-05 7:19 [Qemu-devel] [PATCH 0/4] make SMBUS/SATA/PIT configurable and introduce Chao Peng
2016-11-05 7:19 ` [Qemu-devel] [PATCH 1/4] pc: make smbus configurable Chao Peng
2016-11-05 7:19 ` [Qemu-devel] [PATCH 2/4] pc: make sata configurable Chao Peng
2016-11-05 7:19 ` [Qemu-devel] [PATCH 3/4] pc: make pit configurable Chao Peng
2016-11-05 7:19 ` [Qemu-devel] [PATCH 4/4] q35: introduce q35-lite Chao Peng
2016-11-06 7:06 ` Michael S. Tsirkin [this message]
2016-11-07 17:09 ` Paolo Bonzini
2016-11-14 8:06 ` Chao Peng
2016-11-14 20:51 ` Michael S. Tsirkin
2016-12-14 16:58 ` Paolo Bonzini
2016-11-10 14:50 ` [Qemu-devel] [PATCH 0/4] make SMBUS/SATA/PIT configurable and introduce Michael S. Tsirkin
2016-11-14 7:41 ` Chao Peng
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=20161106090458-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=chao.p.peng@linux.intel.com \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.