Revision 0304f75f61dfc1838904e9efc77646f0032b7467 authored by Viktor Mihajlovski on 05 April 2018, 15:07:24 UTC, committed by Michael Roth on 21 June 2018, 01:45:02 UTC
IPL over a virtio-scsi device requires special handling not
available in the real architecture. For this purpose the IPL
type 0xFF has been chosen as means of communication between
QEMU and the pc-bios. However, a guest OS could be confused
by seeing an unknown IPL type.

This change sets the IPL parameter type to 0x02 (CCW) to prevent
this. Pre-existing Linux has looked up the IPL parameters only in
the case of FCP IPL. This means that the behavior should stay
the same even if Linux checks for the IPL type unconditionally.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Message-Id: <1522940844-12336-4-git-send-email-mihajlov@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
(cherry picked from commit e8c7ef288abb05b741a95418ee2de85c1071e0db)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 955b77f
History
File Mode Size
Makefile.objs -rw-r--r-- 293 bytes
channel-buffer.c -rw-r--r-- 6.9 KB
channel-command.c -rw-r--r-- 10.4 KB
channel-file.c -rw-r--r-- 6.5 KB
channel-socket.c -rw-r--r-- 21.5 KB
channel-tls.c -rw-r--r-- 11.4 KB
channel-util.c -rw-r--r-- 1.4 KB
channel-watch.c -rw-r--r-- 8.7 KB
channel-websock.c -rw-r--r-- 41.4 KB
channel.c -rw-r--r-- 13.3 KB
dns-resolver.c -rw-r--r-- 7.8 KB
task.c -rw-r--r-- 4.1 KB
trace-events -rw-r--r-- 5.1 KB

back to top