On 8/2/22 15:44, Paolo Bonzini wrote:
Initialize global variables separately from net_init_clients, so that calling net_cleanup does not crash miserably.Signed-off-by: Paolo Bonzini <[email protected]> --- hw/net/xen_nic.c | 20 ++++++++++---------- include/net/net.h | 1 + net/net.c | 5 ++++- softmmu/runstate.c | 1 + 4 files changed, 16 insertions(+), 11 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
