aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorHawkins Jiawei <yin31149@gmail.com>2023-06-02 19:52:15 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-06-26 09:50:00 -0400
commit705e89cfaafc54491482742a756cf661b48608d2 (patch)
treed1235e11ad1b8ca8f60af3cc7348019b33b37c66 /scripts/xml-preprocess.py
parent02d3bf099ba071f37145cfcc34d088e8f839072f (diff)
downloadqemu-705e89cfaafc54491482742a756cf661b48608d2.zip
qemu-705e89cfaafc54491482742a756cf661b48608d2.tar.gz
qemu-705e89cfaafc54491482742a756cf661b48608d2.tar.bz2
hw/net/virtio-net: make some VirtIONet const
The VirtIONet structure is not modified in virtio_net_supported_guest_offloads(). Therefore, make it const to allow this function to accept const variables. Signed-off-by: Hawkins Jiawei <yin31149@gmail.com> Reviewed-by: Eugenio Pérez <eperezma@redhat.com> Message-Id: <489b09c3998ac09b9135e57a7dd8c56a4be8cdf9.1685704856.git.yin31149@gmail.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Eugenio Pérez <eperezma@redhat.com> Tested-by: Eugenio Pérez <eperezma@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions