[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/4] pc-1.3: add virtio-rng and virtio-balloon to th
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [PATCH 4/4] pc-1.3: add virtio-rng and virtio-balloon to the default machine |
Date: |
Fri, 26 Oct 2012 12:21:28 -0500 |
The default machine should be useful so add the virtio-rng and
virtio-balloon devices by default to enable these features.
These are protected by -nodefaults so they will only be added if you're
executing from the command line (not if you're using libvirt).
Signed-off-by: Anthony Liguori <address@hidden>
---
hw/pc_piix.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 47ebc1a..65d0889 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -352,6 +352,11 @@ static QEMUMachine pc_machine_v1_3 = {
.init = pc_init_pci,
.max_cpus = 255,
.is_default = 1,
+ .default_devices = (DeviceDescription[]){
+ { "virtio-rng-pci" },
+ { "virtio-balloon-pci" },
+ { },
+ },
};
#define PC_COMPAT_1_2 \
--
1.8.0
[Qemu-devel] [PATCH 3/4] machine: add default_devices field to QEMUMachine, Anthony Liguori, 2012/10/26
[Qemu-devel] [PATCH 4/4] pc-1.3: add virtio-rng and virtio-balloon to the default machine,
Anthony Liguori <=
[Qemu-devel] [PATCH 1/4] rng-random: split out header for rng-random, Anthony Liguori, 2012/10/26