projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708f99c
)
target/s390x: simplify ri_allowed()
author
David Hildenbrand
<david@redhat.com>
Fri, 18 Aug 2017 11:43:38 +0000
(13:43 +0200)
committer
Cornelia Huck
<cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000
(18:23 +0200)
Only used in KVM and there is no reason why it shouldn't be allowed for
tcg - it is simply not available.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <
20170818114353
.13455-4-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio-ccw.c
patch
|
blob
|
history
diff --git
a/hw/s390x/s390-virtio-ccw.c
b/hw/s390x/s390-virtio-ccw.c
index 8331c0a27561f59999762f9e149999890cd7527b..cdf7fa042b8a7a3c40513cd7e71eb2e52658f78f 100644
(file)
--- a/
hw/s390x/s390-virtio-ccw.c
+++ b/
hw/s390x/s390-virtio-ccw.c
@@
-278,9
+278,6
@@
static S390CcwMachineClass *get_machine_class(void)
bool ri_allowed(void)
{
- if (!kvm_enabled()) {
- return false;
- }
/* for "none" machine this results in true */
return get_machine_class()->ri_allowed;
}