diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-11-18 22:44:13 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-30 09:26:11 +1030 |
commit | be3c5832d51174ef7f21cefd6ad612dabdcb62fd (patch) | |
tree | 320f5ed69cbbb82d211ed721294296e3eff858e7 /drivers/lguest | |
parent | c29834584ea4eafccf2f62a0b8a32e64f792044c (diff) | |
download | kernel_samsung_crespo-be3c5832d51174ef7f21cefd6ad612dabdcb62fd.zip kernel_samsung_crespo-be3c5832d51174ef7f21cefd6ad612dabdcb62fd.tar.gz kernel_samsung_crespo-be3c5832d51174ef7f21cefd6ad612dabdcb62fd.tar.bz2 |
kvm-s390: implement config_changed for virtio on s390
This patch implements config_changed for the s390 virtio transport.
We use the least significant bit of the interrupt parameter field
to decide, if this interrupt should call the virtio virtqueue callback
or the config_changed callback.
This method is compatible with old host and guest code. Old 64 bit guests
will not check the bit and trigger a harmless additional vring_interrupt
call. Old host code will never set this bit, this is also safe.
This patch also takes care of a potential future 31 bit virtio transport
for s390. On 31 bit _LC_PFAULT_INTPARM and __LC_EXT_PARAMS are identical.
We exploit the alignment of the token and fold the change bit into the
lsb of the token itself.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions