qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 2/3] net: initialize global variables early


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH 2/3] net: initialize global variables early
Date: Tue, 8 Feb 2022 15:47:14 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1

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 <pbonzini@redhat.com>
---
  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é <f4bug@amsat.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]