|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 10/22] machine: allow boards to specify default values and use it in isapc |
Date: | Tue, 08 Jun 2010 08:09:23 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 |
On 06/08/2010 03:03 AM, Gerd Hoffmann wrote:
static QEMUMachine pc_machine = { .name = "pc-0.13", .alias = "pc", .desc = "Standard PC", - .init = pc_init_pci, + .init = pc_init, .max_cpus = 255, .is_default = 1, .opts_desc = pc_opts_desc, + .opts_default = (QemuOptValue[]) { + { + .name = "acpi", + .value = "on", + },Should be moved into a separate struct and just referenced as it is identical for pc-0.*
Would need to be macros because in future patches, things get more complicated. That may be worth it though.
Regards, Anthony Liguori
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |