diff options
| author | Ani Sinha <ani@anisinha.ca> | 2022-02-23 20:03:20 +0530 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-04 08:30:52 -0500 |
| commit | 3818acf56480ae07f8801f9255b82fe587ef39c1 (patch) | |
| tree | 5f79f446f93cea37fd91684fe9b92016d46b492b /hw/virtio/vhost-user.c | |
| parent | f8bdfbdba9082f20b414fe0b768c4e2882b31059 (diff) | |
| download | focaccia-qemu-3818acf56480ae07f8801f9255b82fe587ef39c1.tar.gz focaccia-qemu-3818acf56480ae07f8801f9255b82fe587ef39c1.zip | |
hw/smbios: code cleanup - use macro definitions for table header handles
This is a minor cleanup. Using macro definitions makes the code more readable. It is at once clear which tables use which handle numbers in their header. It also makes it easy to calculate the gaps between the numbers and update them if needed. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Ani Sinha <ani@anisinha.ca> Message-Id: <20220223143322.927136-6-ani@anisinha.ca> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions