qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 for-1.2 15/27] pc xen: Suppress unused default dr


From: Markus Armbruster
Subject: [Qemu-devel] [PATCH v2 for-1.2 15/27] pc xen: Suppress unused default drives
Date: Wed, 15 Aug 2012 21:17:28 +0200

Cc: Anthony Liguori <address@hidden>
Cc: Stefano Stabellini <address@hidden>

Suppress default SD card drive for machines pc-*, isapc, xenfv, xenpv.

Signed-off-by: Markus Armbruster <address@hidden>
---
 hw/pc_piix.c        | 11 -----------
 hw/xen_machine_pv.c |  1 -
 2 files changed, 12 deletions(-)

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 9374198..593f6b2 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -357,7 +357,6 @@ static QEMUMachine pc_machine_v1_2 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .is_default = 1,
 };
 
@@ -387,7 +386,6 @@ static QEMUMachine pc_machine_v1_1 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_1_1,
         { /* end of list */ }
@@ -425,7 +423,6 @@ static QEMUMachine pc_machine_v1_0 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_1_0,
         { /* end of list */ }
@@ -443,7 +440,6 @@ static QEMUMachine pc_machine_v0_15 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_15,
         { /* end of list */ }
@@ -478,7 +474,6 @@ static QEMUMachine pc_machine_v0_14 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_14, 
         {
@@ -514,7 +509,6 @@ static QEMUMachine pc_machine_v0_13 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_13,
         {
@@ -554,7 +548,6 @@ static QEMUMachine pc_machine_v0_12 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_12,
         {
@@ -590,7 +583,6 @@ static QEMUMachine pc_machine_v0_11 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_11,
         {
@@ -614,7 +606,6 @@ static QEMUMachine pc_machine_v0_10 = {
     .max_cpus = 255,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_11,
         {
@@ -650,7 +641,6 @@ static QEMUMachine isapc_machine = {
     .max_cpus = 1,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .compat_props = (GlobalProperty[]) {
         {
             .driver   = "pc-sysfw",
@@ -669,7 +659,6 @@ static QEMUMachine xenfv_machine = {
     .max_cpus = HVM_MAX_VCPUS,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .default_machine_opts = "accel=xen",
 };
 #endif
diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c
index f3660fa..8baf8dc 100644
--- a/hw/xen_machine_pv.c
+++ b/hw/xen_machine_pv.c
@@ -117,7 +117,6 @@ static QEMUMachine xenpv_machine = {
     .max_cpus = 1,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .default_machine_opts = "accel=xen",
 };
 
-- 
1.7.11.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]