aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-input-host-pci.c
diff options
context:
space:
mode:
authorConnor Kuehl <ckuehl@redhat.com>2021-04-30 08:48:29 -0500
committerEduardo Habkost <ehabkost@redhat.com>2021-06-01 09:32:48 -0400
commit5811b936bf4b0340a83fea8b5b574670d8c219c4 (patch)
treecedd35dc0b08f7a7241ab95343cf3bcf11d18eb7 /hw/virtio/virtio-input-host-pci.c
parent3ea1a80243d5b5ba23d8c2b7d3a86034ea0ade22 (diff)
downloadqemu-5811b936bf4b0340a83fea8b5b574670d8c219c4.zip
qemu-5811b936bf4b0340a83fea8b5b574670d8c219c4.tar.gz
qemu-5811b936bf4b0340a83fea8b5b574670d8c219c4.tar.bz2
sev: use explicit indices for mapping firmware error codes to strings
This can help lower any margin for error when making future additions to the list, especially if they're made out of order. While doing so, make capitalization of ASID consistent with its usage in the SEV firmware spec (Asid -> ASID). Signed-off-by: Connor Kuehl <ckuehl@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210430134830.254741-2-ckuehl@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-input-host-pci.c')
0 files changed, 0 insertions, 0 deletions