qemu-e2k/hw
Thomas Huth 3964ec6c0b hw/core/null-machine: Add the possibility to instantiate a CPU and RAM
Sometimes it is useful to have just a machine with CPU and RAM, without
any further hardware in it, e.g. if you just want to do some instruction
debugging for TCG with a remote GDB attached to QEMU, or run some embedded
code with the "-semihosting" QEMU parameter. qemu-system-m68k already
features a "dummy" machine, and xtensa a "sim" machine for exactly this
purpose.
All target architectures have nowadays also a "none" machine, which would
be a perfect match for this, too - but it currently does not allow to add
CPU and RAM yet. Thus let's add these possibilities in a generic way to the
"none" machine, too, so that we hopefully do not need additional "dummy"
machines in the future anymore (and maybe can also get rid of the already
existing "dummy"/"sim" machines one day).
Note that the default behaviour of the "none" machine is not changed, i.e.
no CPU and no RAM is instantiated by default. You have explicitely got to
specify the CPU model with "-cpu" and the amount of RAM with "-m" to get
these new features.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1484743490-24721-1-git-send-email-thuth@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-01-23 21:26:27 -02:00
..
9pfs
acpi machine: Make possible_cpu_arch_ids() return const pointer 2017-01-23 21:25:37 -02:00
adc
alpha
arm virtio, vhost, pc: fixes, features 2017-01-20 14:05:44 +00:00
audio
block block: m25p80: Improve 1GiB Micron flash definition 2017-01-20 11:15:07 +00:00
bt
char serial: fix memory leak in serial exit 2017-01-16 17:52:35 +01:00
core hw/core/null-machine: Add the possibility to instantiate a CPU and RAM 2017-01-23 21:26:27 -02:00
cpu
cris
display
dma
gpio
i2c arm: Uniquely name imx25 I2C buses. 2017-01-20 11:15:06 +00:00
i386 machine: Make possible_cpu_arch_ids() return const pointer 2017-01-23 21:25:37 -02:00
ide
input
intc * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
ipack
ipmi
isa
lm32 fw-cfg: support writeable blobs 2017-01-18 22:59:53 +02:00
m68k m68k: QOMify the MCF Fast Ethernet Controller device 2017-01-20 10:36:38 +08:00
mem
microblaze
mips
misc kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
moxie
net -----BEGIN PGP SIGNATURE----- 2017-01-20 14:56:40 +00:00
nvram fw-cfg: bump "x-file-slots" to 0x20 for 2.9+ machine types 2017-01-18 22:59:53 +02:00
openrisc
pci hw/pci: use-after-free in pci_nic_init_nofail when nic device fails to initialize 2017-01-20 10:58:26 +08:00
pci-bridge
pci-host
pcmcia
ppc kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
s390x * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
scsi scsi-block: fix direction of BYTCHK test for VERIFY commands 2017-01-16 17:52:35 +01:00
sd
sh4
smbios stubs: move smbios stubs to hw/smbios 2017-01-16 17:52:35 +01:00
sparc
sparc64 target-sparc: fix up niagara machine 2017-01-18 22:03:44 +01:00
ssi aspeed/smc: handle SPI flash Command mode 2017-01-20 11:15:08 +00:00
timer * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
tpm
tricore
unicore32
usb event_notifier: cleanups around event_notifier_set_handler 2017-01-16 17:52:35 +01:00
vfio
virtio * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
watchdog
xen
xenpv
xtensa
Makefile.objs acpi: filter based on CONFIG_ACPI_X86 rather than TARGET 2017-01-16 17:52:35 +01:00