diff options
author | Alexander Graf <agraf@suse.de> | 2013-04-22 16:52:53 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 20:18:24 +0200 |
commit | d0249ce5a8d11564958262fd567d1ea770358134 (patch) | |
tree | 950f52decc07ac31ad78b70586d9e7cad60d98f0 /hw/s390x/s390-virtio.h | |
parent | 3325995640e0a598c4c350a1a02357b422e90973 (diff) |
S390: IPL: Use different firmware for different machines
We have a virtio-s390 and a virtio-ccw machine in QEMU. Both use vastly
different ways to do I/O. Having the same firmware blob for both doesn't
really make any sense.
Instead, let's parametrize the firmware file name, so that we can have
different blobs for different machines.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/s390x/s390-virtio.h')
-rw-r--r-- | hw/s390x/s390-virtio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio.h index a6c4c19895..5c405e7755 100644 --- a/hw/s390x/s390-virtio.h +++ b/hw/s390x/s390-virtio.h @@ -23,6 +23,7 @@ void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn); void s390_init_cpus(const char *cpu_model, uint8_t *storage_keys); void s390_init_ipl_dev(const char *kernel_filename, const char *kernel_cmdline, - const char *initrd_filename); + const char *initrd_filename, + const char *firmware); void s390_create_virtio_net(BusState *bus, const char *name); #endif |