summaryrefslogtreecommitdiffstats
path: root/lib/memweight.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-01-13 16:34:58 +0200
committerRusty Russell <rusty@rustcorp.com.au>2015-01-21 16:28:55 +1030
commitd3f5f065603705cd4275d57324c49e391f786b5e (patch)
tree8bf7e4230355ec31f9d96d727a4a0b4a42e8acf9 /lib/memweight.c
parent3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe (diff)
downloadlinux-d3f5f065603705cd4275d57324c49e391f786b5e.tar.gz
linux-d3f5f065603705cd4275d57324c49e391f786b5e.tar.bz2
linux-d3f5f065603705cd4275d57324c49e391f786b5e.zip
virtio_pci_modern: support devices with no config
Virtio 1.0 spec lists device config as optional. Set get/set callbacks to NULL. Drivers can check that and fail gracefully. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions