qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
@ 2013-10-29 14:35 Igor Mammedov
  2013-10-29 14:40 ` Gerd Hoffmann
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Igor Mammedov @ 2013-10-29 14:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: ehabkost, mst, seabios, kraxel, aliguori, pbonzini, afaerber

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>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2013-10-29 14:40 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: ehabkost, mst, seabios, qemu-devel, aliguori, pbonzini, afaerber

On Di, 2013-10-29 at 15:35 +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.

Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
  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
  2013-10-29 15:29 ` Eduardo Habkost
  2013-11-05 17:11 ` Igor Mammedov
  3 siblings, 0 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2013-10-29 15:12 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: ehabkost, seabios, qemu-devel, kraxel, aliguori, pbonzini,
	afaerber

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
  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
@ 2013-10-29 15:29 ` Eduardo Habkost
  2013-11-05 17:11 ` Igor Mammedov
  3 siblings, 0 replies; 6+ messages in thread
From: Eduardo Habkost @ 2013-10-29 15:29 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: mst, seabios, qemu-devel, kraxel, aliguori, pbonzini, afaerber

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: Eduardo Habkost <ehabkost@redhat.com>

-- 
Eduardo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
  2013-10-29 14:35 [Qemu-devel] [PATCH for 1.7] pc: disable pci-info Igor Mammedov
                   ` (2 preceding siblings ...)
  2013-10-29 15:29 ` Eduardo Habkost
@ 2013-11-05 17:11 ` Igor Mammedov
  2013-11-05 17:19   ` Michael S. Tsirkin
  3 siblings, 1 reply; 6+ messages in thread
From: Igor Mammedov @ 2013-11-05 17:11 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: ehabkost, mst, seabios, qemu-devel, kraxel, aliguori, pbonzini,
	afaerber

On Tue, 29 Oct 2013 15:35:07 +0100
Igor Mammedov <imammedo@redhat.com> 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.

ping,
we want it for 1.7 to avoid compatibility issues.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH for 1.7] pc: disable pci-info
  2013-11-05 17:11 ` Igor Mammedov
@ 2013-11-05 17:19   ` Michael S. Tsirkin
  0 siblings, 0 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2013-11-05 17:19 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: ehabkost, seabios, qemu-devel, kraxel, aliguori, pbonzini,
	afaerber

On Tue, Nov 05, 2013 at 06:11:16PM +0100, Igor Mammedov wrote:
> On Tue, 29 Oct 2013 15:35:07 +0100
> Igor Mammedov <imammedo@redhat.com> 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.
> 
> ping,
> we want it for 1.7 to avoid compatibility issues.

Yes we do.

Can you rebase and resubmit please?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-05 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-10-29 15:29 ` Eduardo Habkost
2013-11-05 17:11 ` Igor Mammedov
2013-11-05 17:19   ` Michael S. Tsirkin

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).