qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 08/10] PC: Support dynamic sysbus on pc_i440f


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH v5 08/10] PC: Support dynamic sysbus on pc_i440fx
Date: Tue, 7 Feb 2017 15:05:51 +0100

On Sun,  5 Feb 2017 01:12:03 -0800
address@hidden wrote:

> From: Ben Warren <address@hidden>
> 
> This allows pc_i440fx-based machines to add new devices such as
> VM Generation ID directly to the sysbus.
> 
> Signed-off-by: Ben Warren <address@hidden>
> ---
>  hw/i386/pc_piix.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
> index 9f102aa..c8ad99c 100644
> --- a/hw/i386/pc_piix.c
> +++ b/hw/i386/pc_piix.c
> @@ -435,6 +435,7 @@ static void pc_i440fx_machine_options(MachineClass *m)
>      m->hot_add_cpu = pc_hot_add_cpu;
>      m->default_machine_opts = "firmware=bios-256k.bin";
>      m->default_display = "std";
> +    m->has_dynamic_sysbus = true;
>  }
>  
>  static void pc_i440fx_2_9_machine_options(MachineClass *m)
since vmgenid device doesn't need any external wiring by board
-device probably would also work if it's inherited from plain Device




reply via email to

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