diff options
author | Peter Maydell | 2018-05-25 15:27:53 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-06-01 15:14:31 +0200 |
commit | 2af1acadc22e86b9fff7b2cd73ea9c779ba1a065 (patch) | |
tree | d677936f6031b6d8de9eab9e18d0728c57e1ee8e /linux-headers | |
parent | scripts/update-linux-headers: Handle kernel license no longer being one file (diff) | |
download | qemu-2af1acadc22e86b9fff7b2cd73ea9c779ba1a065.tar.gz qemu-2af1acadc22e86b9fff7b2cd73ea9c779ba1a065.tar.xz qemu-2af1acadc22e86b9fff7b2cd73ea9c779ba1a065.zip |
target/i386/kvm.c: Handle renaming of KVM_HINTS_DEDICATED
In kernel header commit 633711e8287, the define KVM_HINTS_DEDICATED
was renamed to KVM_HINTS_REALTIME. Work around this compatibility
break by (a) using the new constant name, and (b) defining it
if the headers don't.
Part (b) can be removed once we've updated our copy of the kernel
headers to a version that defines KVM_HINTS_REALTIME.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180525132755.21839-5-peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions