static void virtio_net_vmstate_change(void *opaque, int running, int reason)

{

    VirtIONet *n = opaque;

    if (!running) {

        return;

    }

    /* This is called when vm is started, it will start vhost backend if

     * appropriate e.g. after migration. */

    virtio_net_set_status(&n->vdev, n->vdev.status);

}

static void virtio_net_vmstate_change(void *opaque, int running, int reason)

{

    VirtIONet *n = opaque;

    if (!running) {

        return;

    }

    



    virtio_net_set_status(&n->vdev, n->vdev.status);

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)

{

    VirtIONet *n = VAR_0;

    if (!VAR_1) {

        return;

    }

    



    virtio_net_set_status(&n->vdev, n->vdev.status);

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)
{ VirtIONet *n = VAR_0; if (!VAR_1) { return; } virtio_net_set_status(&n->vdev, n->vdev.status); }