summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorAndrew Deason <adeason@sinenomine.net>2022-04-26 14:55:24 -0500
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-05-04 12:00:46 +0400
commit70335c4644f3c05456c72020ae54b1dbeba905d7 (patch)
tree1e247b04605ebc32def2c7637322f9d682696d12 /hw/intc/omap_intc.c
parentaec0730ea9a150f23a5a2bbb87903a2900e5e72f (diff)
downloadfocaccia-qemu-70335c4644f3c05456c72020ae54b1dbeba905d7.tar.gz
focaccia-qemu-70335c4644f3c05456c72020ae54b1dbeba905d7.zip
qga/commands-posix: Fix listing ifaces for Solaris
The code for guest-network-get-interfaces needs a couple of small
adjustments for Solaris:

- The results from SIOCGIFHWADDR are documented as being in ifr_addr,
  not ifr_hwaddr (ifr_hwaddr doesn't exist on Solaris).

- The implementation of guest_get_network_stats is Linux-specific, so
  hide it under #ifdef CONFIG_LINUX. On non-Linux, we just won't
  provide network interface stats.

Signed-off-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <20220426195526.7699-4-adeason@sinenomine.net>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions