]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: check the given debug flags, not the set ones
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 20 May 2014 15:25:20 +0000 (17:25 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 May 2014 07:39:38 +0000 (09:39 +0200)
commit780fbb18dea5fc1f81fc49cb61917d10669cb2c8
treed3b624050003529bda3fd72f3390e9fe31905400
parenteee3e7c57a8d2d0b60c0bc4c6484aa580745efd4
KVM: s390: check the given debug flags, not the set ones

This patch fixes a minor bug when updating the guest debug settings.
We should check the given debug flags, not the already set ones.
Doesn't do any harm but too many (for now unused) flags could be set internally
without error.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c