Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf
* 's390-for-upstream' of git://repo.or.cz/qemu/agraf: s390: Add a hypercall registration interface. target-s390x: Unregister reset callback on finalization s390x: fix indentation s390: Add CPU reset handler s390x: Remove inline function ebcdic_put and related data from cpu.h S390: Enable -cpu help and QMP query-cpu-definitions s390: Move IPL code into a separate device s390: new contributions GPLv2 or later
- Loading branch information
Showing
9 changed files
with
470 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Virtio interfaces for s390 | ||
* | ||
* Copyright 2012 IBM Corp. | ||
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> | ||
* | ||
* This work is licensed under the terms of the GNU GPL, version 2 or (at | ||
* your option) any later version. See the COPYING file in the top-level | ||
* directory. | ||
*/ | ||
|
||
#ifndef HW_S390_VIRTIO_H | ||
#define HW_S390_VIRTIO_H 1 | ||
|
||
#define KVM_S390_VIRTIO_NOTIFY 0 | ||
#define KVM_S390_VIRTIO_RESET 1 | ||
#define KVM_S390_VIRTIO_SET_STATUS 2 | ||
|
||
typedef int (*s390_virtio_fn)(const uint64_t *args); | ||
void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
obj-y = s390-virtio-bus.o s390-virtio.o | ||
|
||
obj-y := $(addprefix ../,$(obj-y)) | ||
obj-y += s390-virtio-hcall.o | ||
obj-y += sclp.o | ||
obj-y += event-facility.o | ||
obj-y += sclpquiesce.o sclpconsole.o | ||
obj-y += ipl.o |
Oops, something went wrong.