qemu/hw/block
Jordan Justen dafb82e0fc pc_sysfw: allow flash (-pflash) memory to be used with KVM
When pc-sysfw.rom_only == 0, flash memory will be
usable with kvm. In order to enable flash memory mode,
a pflash device must be created. (For example, by
using the -pflash command line parameter.)

Usage of a flash memory device with kvm requires
KVM_CAP_READONLY_MEM, and kvm will abort if
a flash device is used with an older kvm which does
not support this capability.

If a flash device is not used, then qemu/kvm will
operate in the original rom-mode.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1369816047-16384-5-git-send-email-jordan.l.justen@intel.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-29 08:15:36 -05:00
..
dataplane virtio: remove virtiobindings. 2013-04-24 11:50:20 -05:00
block.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
cdrom.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
ecc.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
fdc.c fdc: QOM'ify ISA floppy controller 2013-04-29 08:27:47 -05:00
hd-geometry.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
m25p80.c m25p80.c: Sync Flash chip list with Linux 2013-05-12 13:25:55 +04:00
Makefile.objs hw: move block devices to hw/block/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
nand.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
onenand.c hw: move block devices to hw/block/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
pc_sysfw.c pc_sysfw: allow flash (-pflash) memory to be used with KVM 2013-05-29 08:15:36 -05:00
pflash_cfi01.c memory: Rename readable flag to romd_mode 2013-05-24 18:42:46 +02:00
pflash_cfi02.c memory: Rename readable flag to romd_mode 2013-05-24 18:42:46 +02:00
tc58128.c hw: move block devices to hw/block/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
virtio-blk.c virtio: cleanup: init and exit function. 2013-04-24 11:50:21 -05:00
xen_blkif.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_disk.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00