Patchwork [1/2] pc: add pc-0.15

login
register
mail settings
Submitter Anthony Liguori
Date Dec. 19, 2011, 2:45 p.m.
Message ID <1324305949-20960-1-git-send-email-aliguori@us.ibm.com>
Download mbox | patch
Permalink /patch/132246/
State New
Headers show

Comments

Anthony Liguori - Dec. 19, 2011, 2:45 p.m.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 hw/pc_piix.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
Anthony Liguori - Dec. 19, 2011, 3:35 p.m.
On 12/19/2011 08:45 AM, Anthony Liguori wrote:
> Signed-off-by: Anthony Liguori<aliguori@us.ibm.com>

I should add that both of these are stable candidates.  The second one in 
particular.

Regards,

Anthony Liguori

> ---
>   hw/pc_piix.c |    9 +++++++++
>   1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/hw/pc_piix.c b/hw/pc_piix.c
> index 166c2fc..265ccb2 100644
> --- a/hw/pc_piix.c
> +++ b/hw/pc_piix.c
> @@ -321,6 +321,14 @@ static QEMUMachine pc_machine_v1_0 = {
>       .is_default = 1,
>   };
>
> +static QEMUMachine pc_machine_v0_15 = {
> +    .name = "pc-0.15",
> +    .desc = "Standard PC",
> +    .init = pc_init_pci,
> +    .max_cpus = 255,
> +    .is_default = 1,
> +};
> +
>   static QEMUMachine pc_machine_v0_14 = {
>       .name = "pc-0.14",
>       .desc = "Standard PC",
> @@ -572,6 +580,7 @@ static QEMUMachine xenfv_machine = {
>   static void pc_machine_init(void)
>   {
>       qemu_register_machine(&pc_machine_v1_0);
> +    qemu_register_machine(&pc_machine_v0_15);
>       qemu_register_machine(&pc_machine_v0_14);
>       qemu_register_machine(&pc_machine_v0_13);
>       qemu_register_machine(&pc_machine_v0_12);

Patch

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 166c2fc..265ccb2 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -321,6 +321,14 @@  static QEMUMachine pc_machine_v1_0 = {
     .is_default = 1,
 };
 
+static QEMUMachine pc_machine_v0_15 = {
+    .name = "pc-0.15",
+    .desc = "Standard PC",
+    .init = pc_init_pci,
+    .max_cpus = 255,
+    .is_default = 1,
+};
+
 static QEMUMachine pc_machine_v0_14 = {
     .name = "pc-0.14",
     .desc = "Standard PC",
@@ -572,6 +580,7 @@  static QEMUMachine xenfv_machine = {
 static void pc_machine_init(void)
 {
     qemu_register_machine(&pc_machine_v1_0);
+    qemu_register_machine(&pc_machine_v0_15);
     qemu_register_machine(&pc_machine_v0_14);
     qemu_register_machine(&pc_machine_v0_13);
     qemu_register_machine(&pc_machine_v0_12);