vfio_user: Improve flags for DMA_MAP command

Replace the use of an enum with a bitfield representation which means
that is now possible to logical OR flags together.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2023-02-07 17:22:58 +00:00
committed by Bo Chen
parent 01900e3c2b
commit 91e2601523
3 changed files with 10 additions and 15 deletions

1
Cargo.lock generated
View File

@@ -1384,6 +1384,7 @@ dependencies = [
name = "vfio_user"
version = "0.1.0"
dependencies = [
"bitflags",
"libc",
"log",
"serde",