aboutsummaryrefslogtreecommitdiff
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel.a@redhat.com>2014-05-26 15:40:58 +0300
committerAndreas Färber <afaerber@suse.de>2014-05-28 17:36:13 +0200
commit6b1b1440199c1a910b91bc9e029974f44746633d (patch)
tree43e0eb34214716f1b581707d9df2b86db9b367fa /include/hw/boards.h
parenta199b2b6a5b9dd50cfe96349778458d1b39899b5 (diff)
machine: Make -machine opts properties of MachineState
Make machine's QemuOpts QOM properties of /machine. The properties are automatically filled in. This opens the possibility to create opts per machine rather than global. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r--include/hw/boards.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h
index b62de4ab7a..2d2e2bef19 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -114,9 +114,9 @@ struct MachineState {
ram_addr_t ram_size;
const char *boot_order;
- const char *kernel_filename;
- const char *kernel_cmdline;
- const char *initrd_filename;
+ char *kernel_filename;
+ char *kernel_cmdline;
+ char *initrd_filename;
const char *cpu_model;
};