s390-ccw.img: Take care of the elf->img transition
We have to call strip with s390-ccw.elf as input ands390-ccw.img as output
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Fix compile warning in s390 ccw virtio code
Lets fix this gcc warning:
virtio.c: In function ‘vring_send_buf’:virtio.c:125:35: error: operation on ‘vr->next_idx’ may be undefined[-Werror=sequence-point]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
s390-ccw.img: Detect devices with stsch.
stsch is the canonical way to detect devices. As a bonus, we canabort the loop if we get cc 3, and we need to check only the validdevices (dnv set).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Enhance drain_irqs().
- Use tpi + tsch to get interrupts.- Return an error if the irb indicates problems.
s390-ccw.img: Rudimentary error checking.
Try to handle at least some of the errors that may happen.
s390-ccw.img: Get queue config from host.
Ask the host about the configuration instead of guessing it.
S390: ccw firmware: Add compiled blob
Now that we have all the source code ready, add a compiled blob intothe QEMU source tree, so that people without access to an s390 compilercan run the s390-ccw firmware.
Signed-off-by: Alexander Graf <agraf@suse.de>
S390: CCW: Use new, working firmware by default
Since we now have working firmware for s390-ccw in the tree, we candefault to it on our s390-ccw machine, rendering it more useful.
Common: Add quick access to first boot device
Instead of manually parsing the boot_list as character stream,we can access the nth boot device, specified by the position in theboot order.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>...
Allow selective runtime register synchronization
We want to avoid expensive register synchronization IOCTL's on the hot path soa new kvm_s390_get_registers_partial() is introduced as a compliment tokvm_arch_get_registers(). The new function is called on the hot path, and...
View all revisions | View revisions
Also available in: Atom