summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio-access.h
diff options
context:
space:
mode:
authorPeter Maydell2015-09-10 11:24:30 +0200
committerPeter Maydell2015-09-10 11:24:30 +0200
commitfbf054cb0a8ce2dc8f2d3012fb9204ef50d28d17 (patch)
treef0fc8c4a58065ae806f6b733ba38a8d3ede69b9b /include/hw/virtio/virtio-access.h
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150908'... (diff)
parenthw/pci: fix pci_update_mappings() trace events (diff)
downloadqemu-fbf054cb0a8ce2dc8f2d3012fb9204ef50d28d17.tar.gz
qemu-fbf054cb0a8ce2dc8f2d3012fb9204ef50d28d17.tar.xz
qemu-fbf054cb0a8ce2dc8f2d3012fb9204ef50d28d17.zip
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
virtio,pc,acpi fixes, cleanups Fixes all over the place. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> # gpg: Signature made Thu 10 Sep 2015 10:16:18 BST using RSA key ID D28D5469 # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" # gpg: aka "Michael S. Tsirkin <mst@redhat.com>" * remotes/mst/tags/for_upstream: hw/pci: fix pci_update_mappings() trace events pc: memhotplug: keep reserved-memory-end broken on 2.4 and earlier machines pc: memhotplug: fix incorrectly set reserved-memory-end acpi: Remove unused definition. virtio: avoid leading underscores for helpers pc: Remove redundant arguments from xen_hvm_init() pci: Fix pci_device_iommu_address_space() bus propagation Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/virtio/virtio-access.h')
-rw-r--r--include/hw/virtio/virtio-access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-access.h b/include/hw/virtio/virtio-access.h
index 1ec1dfdb6c..8aec843c8f 100644
--- a/include/hw/virtio/virtio-access.h
+++ b/include/hw/virtio/virtio-access.h
@@ -19,7 +19,7 @@
static inline bool virtio_access_is_big_endian(VirtIODevice *vdev)
{
- if (virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) {
+ if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) {
/* Devices conforming to VIRTIO 1.0 or later are always LE. */
return false;
}