]> git.proxmox.com Git - mirror_qemu.git/commit - hw/vfio/ccw.c
s390 vfio-ccw: Add bootindex property and IPLB data
authorJason J. Herne <jjherne@linux.ibm.com>
Thu, 4 Apr 2019 14:34:20 +0000 (10:34 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Apr 2019 10:39:52 +0000 (12:39 +0200)
commit44445d8668f458dec0ecb8bcecdcbf24e6d4251b
tree1aa420b280325cea5aab9f9b8d65d77d45de078f
parent532cc6da74ec25b5ba6893b5757c977d54582949
s390 vfio-ccw: Add bootindex property and IPLB data

Add bootindex property and iplb data for vfio-ccw devices. This allows us to
forward boot information into the bios for vfio-ccw devices.

Refactor s390_get_ccw_device() to return device type. This prevents us from
having to use messy casting logic in several places.

Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1554388475-18329-2-git-send-email-jjherne@linux.ibm.com>
[thuth: fixed "typedef struct VFIOCCWDevice" build failure with clang]
Signed-off-by: Thomas Huth <thuth@redhat.com>
MAINTAINERS
hw/s390x/ipl.c
hw/s390x/s390-ccw.c
hw/vfio/ccw.c
include/hw/s390x/s390-ccw.h
include/hw/s390x/vfio-ccw.h [new file with mode: 0644]