diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-01-07 17:30:19 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-01-09 22:10:00 -0200 |
commit | e0985450e134db99e2ee167e9cd0087a51220d8f (patch) | |
tree | f529184bd63808f5824b2512ec05f312c503f280 /io | |
parent | b3bcb3cedf58cb3c64a20712861ed9382773fd6b (diff) | |
download | qemu-e0985450e134db99e2ee167e9cd0087a51220d8f.zip qemu-e0985450e134db99e2ee167e9cd0087a51220d8f.tar.gz qemu-e0985450e134db99e2ee167e9cd0087a51220d8f.tar.bz2 |
machine: Eliminate unnecessary stringify() usage
stringify() is useful when we need to use macros in compat_props
(like when we set virtio-baloon-pci.class=PCI_CLASS_MEMORY_RAM at
pc_i440fx_1_0_machine_options()), but it is pointless when we are
already providing a number literal.
Replace stringify() with string literals when appropriate.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190107193020.21744-3-ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions