]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i386/pc: Use TYPE_PORT92 instead of hardcoded string
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 13 Dec 2019 10:50:58 +0000 (11:50 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:33:51 +0000 (19:33 +0100)
commit9e5213c8be63cdc806d1739d48148cd5f1444526
treec7da128d2ce489ae171a08a02a5398e566e8211c
parent3c29e188415e81c32a9107ecb2616fc6b967abc5
hw/i386/pc: Use TYPE_PORT92 instead of hardcoded string

By using the TYPE_* definitions for devices, we can:
- quickly find where devices are used with 'git-grep'
- easily rename a device (one-line change).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c