From: Laszlo Ersek <lersek@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>, qemu-devel@nongnu.org
Cc: Marcel Apfelbaum <marcel.a@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Igor Mammedov <imammedo@redhat.com>, John Snow <jsnow@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 6/5] pc: Remove unused pc_acpi_init() function
Date: Tue, 26 Jan 2016 18:27:09 +0100 [thread overview]
Message-ID: <56A7AC6D.8060607@redhat.com> (raw)
In-Reply-To: <20160126145917.GG4218@thinpad.lan.raisama.net>
On 01/26/16 15:59, Eduardo Habkost wrote:
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Additional code we can remove after removing the old q35
> machines.
> ---
> hw/i386/pc.c | 28 ----------------------------
> include/hw/i386/pc.h | 1 -
> 2 files changed, 29 deletions(-)
>
> diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> index 78cf8fa..f68c0c6 100644
> --- a/hw/i386/pc.c
> +++ b/hw/i386/pc.c
> @@ -1233,34 +1233,6 @@ void pc_pci_as_mapping_init(Object *owner, MemoryRegion *system_memory,
> pci_address_space, -1);
> }
>
> -void pc_acpi_init(const char *default_dsdt)
> -{
> - char *filename;
> -
> - if (acpi_tables != NULL) {
> - /* manually set via -acpitable, leave it alone */
> - return;
> - }
> -
> - filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, default_dsdt);
> - if (filename == NULL) {
> - fprintf(stderr, "WARNING: failed to find %s\n", default_dsdt);
> - } else {
> - QemuOpts *opts = qemu_opts_create(qemu_find_opts("acpi"), NULL, 0,
> - &error_abort);
> - Error *err = NULL;
> -
> - qemu_opt_set(opts, "file", filename, &error_abort);
> -
> - acpi_table_add_builtin(opts, &err);
> - if (err) {
> - error_reportf_err(err, "WARNING: failed to load %s: ",
> - filename);
> - }
> - g_free(filename);
> - }
> -}
> -
> FWCfgState *xen_load_linux(PCMachineState *pcms,
> PcGuestInfo *guest_info)
> {
> diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
> index 65e8f24..3bc9e62 100644
> --- a/include/hw/i386/pc.h
> +++ b/include/hw/i386/pc.h
> @@ -230,7 +230,6 @@ void pc_acpi_smi_interrupt(void *opaque, int irq, int level);
>
> void pc_cpus_init(PCMachineState *pcms);
> void pc_hot_add_cpu(const int64_t id, Error **errp);
> -void pc_acpi_init(const char *default_dsdt);
>
> PcGuestInfo *pc_guest_info_init(PCMachineState *pcms);
>
>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
next prev parent reply other threads:[~2016-01-26 17:27 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 16:02 [Qemu-devel] [PATCH v2 0/5] q35: Remove old machines and unused compat code Eduardo Habkost
2016-01-23 16:02 ` [Qemu-devel] [PATCH v2 1/5] q35: Remove old machine versions Eduardo Habkost
2016-01-23 16:02 ` [Qemu-devel] [PATCH v2 2/5] machine: Remove no_tco field Eduardo Habkost
2016-01-23 16:02 ` [Qemu-devel] [PATCH v2 3/5] ich9: Remove enable_tco arguments from init functions Eduardo Habkost
2016-01-23 16:02 ` [Qemu-devel] [PATCH v2 4/5] q35: Remove unused q35-acpi-dsdt.aml file Eduardo Habkost
2016-01-23 16:02 ` [Qemu-devel] [PATCH v2 5/5] q35: No need to check gigabyte_align Eduardo Habkost
2016-01-25 11:27 ` [Qemu-devel] [PATCH v2 0/5] q35: Remove old machines and unused compat code Laszlo Ersek
2016-01-26 10:15 ` Igor Mammedov
2016-01-26 14:49 ` Laszlo Ersek
2016-01-26 10:17 ` Igor Mammedov
2016-01-26 14:59 ` [Qemu-devel] [PATCH 6/5] pc: Remove unused pc_acpi_init() function Eduardo Habkost
2016-01-26 17:27 ` Laszlo Ersek [this message]
2016-01-26 14:59 ` [Qemu-devel] [PATCH 7/5] acpi: Remove unused acpi_table_add_builtin() function Eduardo Habkost
2016-01-26 17:27 ` Laszlo Ersek
2016-01-27 17:08 ` Igor Mammedov
2016-02-04 16:01 ` [Qemu-devel] [PATCH v2 0/5] q35: Remove old machines and unused compat code Michael S. Tsirkin
2016-02-04 17:16 ` Eduardo Habkost
2016-02-04 18:02 ` Michael S. Tsirkin
2016-02-04 19:09 ` Eduardo Habkost
2016-02-04 22:14 ` Michael S. Tsirkin
2016-02-05 9:09 ` Markus Armbruster
2016-02-05 14:46 ` Eduardo Habkost
2016-02-06 18:34 ` Michael S. Tsirkin
2016-02-11 15:51 ` Eduardo Habkost
2016-02-11 16:33 ` Michael S. Tsirkin
2016-02-11 17:24 ` Eduardo Habkost
2016-02-11 20:49 ` Paolo Bonzini
2016-02-11 20:49 ` Paolo Bonzini
2016-02-12 10:58 ` Markus Armbruster
2016-02-18 11:18 ` Markus Armbruster
2016-02-18 12:07 ` Michael S. Tsirkin
2016-02-18 12:46 ` Markus Armbruster
2016-02-05 8:55 ` Markus Armbruster
2016-02-07 10:17 ` Michael S. Tsirkin
2016-02-08 11:59 ` Markus Armbruster
2016-02-18 12:39 ` Markus Armbruster
2016-02-18 23:17 ` Eduardo Habkost
2016-02-19 8:29 ` Markus Armbruster
2016-02-23 13:00 ` Michael S. Tsirkin
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=56A7AC6D.8060607@redhat.com \
--to=lersek@redhat.com \
--cc=armbru@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=jsnow@redhat.com \
--cc=marcel.a@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.