From: "Michael S. Tsirkin" <mst@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: ehabkost@redhat.com, seabios@seabios.org, qemu-devel@nongnu.org,
kraxel@redhat.com, aliguori@amazon.com, pbonzini@redhat.com,
afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
Date: Tue, 29 Oct 2013 17:12:59 +0200 [thread overview]
Message-ID: <20131029151259.GB20242@redhat.com> (raw)
In-Reply-To: <1383057307-4814-1-git-send-email-imammedo@redhat.com>
On Tue, Oct 29, 2013 at 03:35:07PM +0100, Igor Mammedov wrote:
> The BIOS that we ship in 1.7 does not use pci info
> from host and so far isn't going to use it.
> Taking in account problems it caused see 9604f70fdf and
> to avoid future incompatibility issues, it's safest to
> disable that interface by default for all machine types
> including 1.7 as it was never exposed/used by guest.
> And properly remove/cleanup it during 1.8 development cycle.
>
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> hw/i386/pc_piix.c | 3 ++-
> hw/i386/pc_q35.c | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
> index c6042c7..4a4d969 100644
> --- a/hw/i386/pc_piix.c
> +++ b/hw/i386/pc_piix.c
> @@ -58,7 +58,8 @@ static const int ide_iobase2[MAX_IDE_BUS] = { 0x3f6, 0x376 };
> static const int ide_irq[MAX_IDE_BUS] = { 14, 15 };
>
> static bool has_pvpanic;
> -static bool has_pci_info = true;
> +/* TODO: remove unused "etc/pci-info" */
> +static bool has_pci_info;
>
> /* PC hardware initialisation */
> static void pc_init1(QEMUMachineInitArgs *args,
> diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
> index ca84e1c..8e5c1ae 100644
> --- a/hw/i386/pc_q35.c
> +++ b/hw/i386/pc_q35.c
> @@ -48,7 +48,8 @@
> #define MAX_SATA_PORTS 6
>
> static bool has_pvpanic;
> -static bool has_pci_info = true;
> +/* TODO: remove unused "etc/pci-info" */
> +static bool has_pci_info;
>
> /* PC hardware initialisation */
> static void pc_q35_init(QEMUMachineInitArgs *args)
> --
> 1.7.1
next prev parent reply other threads:[~2013-10-29 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 14:35 [Qemu-devel] [PATCH for 1.7] pc: disable pci-info Igor Mammedov
2013-10-29 14:40 ` Gerd Hoffmann
2013-10-29 15:12 ` Michael S. Tsirkin [this message]
2013-10-29 15:29 ` Eduardo Habkost
2013-11-05 17:11 ` Igor Mammedov
2013-11-05 17:19 ` 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=20131029151259.GB20242@redhat.com \
--to=mst@redhat.com \
--cc=afaerber@suse.de \
--cc=aliguori@amazon.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.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 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).