aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2022-06-07 18:02:16 +0100
committerWill Deacon <will@kernel.org>2022-06-09 13:44:14 +0100
commit7efc2622d5eee02f2423c81109b49644f2181d71 (patch)
tree1b766362776fca5e7e4f08f264f2ff8eae0e10d6
parentb4531b2c4d3f216bbc5d2fa70510f71826e6ec5d (diff)
downloadkvmtool-7efc2622d5eee02f2423c81109b49644f2181d71.tar.gz
virtio: Add NEEDS_RESET to the status mask
Not all toolchains used to know about VIRTIO_CONFIG_S_NEEDS_RESET, so we left it out of the status mask. Now that we include our own version of virtio_config.h and we'll need it for virtio 1.0, add it back. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Link: https://lore.kernel.org/r/20220607170239.120084-2-jean-philippe.brucker@arm.com Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--include/kvm/virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/virtio.h b/include/kvm/virtio.h
index ad274acf..8a363632 100644
--- a/include/kvm/virtio.h
+++ b/include/kvm/virtio.h
@@ -35,6 +35,7 @@
VIRTIO_CONFIG_S_DRIVER | \
VIRTIO_CONFIG_S_DRIVER_OK | \
VIRTIO_CONFIG_S_FEATURES_OK | \
+ VIRTIO_CONFIG_S_NEEDS_RESET | \
VIRTIO_CONFIG_S_FAILED)
/* Kvmtool status bits */