]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsysinfo: fix RISC-V detection
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 22 Jan 2025 11:20:08 +0000 (12:20 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 23 Jan 2025 14:05:21 +0000 (15:05 +0100)
commit3e9440dbcb39846c96ada55bd29ff6ae9fff6d93
tree885a7ea9aa5a5ac311d7946cc52fa6876538c152
parent652b2eeaa91ebde76b951593e4f77ec3cf6fcc46
virsysinfo: fix RISC-V detection

The correct compiler define to detect the RISC-V architecture is __riscv.

Fixes: b902cfece0db ("virsysinfo: Try reading DMI table")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/util/virsysinfo.c