Patchwork [v2,for-1.2,12/27] xilinx-zynq: Suppress unused default drives

login
register
mail settings
Submitter Markus Armbruster
Date Aug. 15, 2012, 7:17 p.m.
Message ID <1345058260-16229-13-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/177768/
State New
Headers show

Comments

Markus Armbruster - Aug. 15, 2012, 7:17 p.m.
Cc: Peter Crosthwaite <peter.crosthwaite@petalogix.com>

Suppress default floppy and CD-ROM drives.  SD card was already
suppressed.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/xilinx_zynq.c | 2 --
 1 file changed, 2 deletions(-)
Peter A. G. Crosthwaite - Aug. 17, 2012, 4:55 a.m.
On Thu, Aug 16, 2012 at 5:17 AM, Markus Armbruster <armbru@redhat.com> wrote:
> Cc: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
>
> Suppress default floppy and CD-ROM drives.  SD card was already
> suppressed.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
> ---
>  hw/xilinx_zynq.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
> index 1f16a34..b532953 100644
> --- a/hw/xilinx_zynq.c
> +++ b/hw/xilinx_zynq.c
> @@ -146,8 +146,6 @@ static QEMUMachine zynq_machine = {
>      .init = zynq_init,
>      .use_scsi = 1,
>      .max_cpus = 1,
> -    .use_floppy = 1,
> -    .use_cdrom = 1,
>  };
>
>  static void zynq_machine_init(void)
> --
> 1.7.11.2
>

Patch

diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 1f16a34..b532953 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -146,8 +146,6 @@  static QEMUMachine zynq_machine = {
     .init = zynq_init,
     .use_scsi = 1,
     .max_cpus = 1,
-    .use_floppy = 1,
-    .use_cdrom = 1,
 };
 
 static void zynq_machine_init(void)