commit | a8557d32fe90a91d70dbbf57a034ad0c660ce237 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Apr 01 14:43:15 2015 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Apr 01 14:43:34 2015 +1030 |
tree | bbb62a88af00743838db82c35b357c260f013b60 | |
parent | c5d4c2c9ce4f4b6980a71dec50f2db4c2e55778d [diff] |
virtio_pci_modern: switch to type-safe io accessors As Rusty noted, we were accessing queue_enable with an incorrect width. Switch to type-safe accessors so we don't make this mistake again in the future. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>