]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: add a virArchFromHost() impl for Windows
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Jan 2020 10:51:35 +0000 (10:51 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jan 2020 14:51:39 +0000 (14:51 +0000)
commit19ff90a9c5270d9b903f14f6fefce1edcf6dd6ed
treeeca99ea7f1d1574a2ec971a12fa21e26b587ab82
parente7def90b905fc03b8eea31c1cb682ef7170f611a
util: add a virArchFromHost() impl for Windows

Instead of relying on GNULIb's uname() impl, directly use the
Windows API for determining CPU architecture.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/virarch.c