static int e1000_post_load(void *opaque, int version_id)

{

    E1000State *s = opaque;

    NetClientState *nc = qemu_get_queue(s->nic);



    /* nc.link_down can't be migrated, so infer link_down according

     * to link status bit in mac_reg[STATUS] */

    nc->link_down = (s->mac_reg[STATUS] & E1000_STATUS_LU) == 0;



    return 0;

}

static int e1000_post_load(void *opaque, int version_id)

{

    E1000State *s = opaque;

    NetClientState *nc = qemu_get_queue(s->nic);



    



    nc->link_down = (s->mac_reg[STATUS] & E1000_STATUS_LU) == 0;



    return 0;

}

static int FUNC_0(void *VAR_0, int VAR_1)

{

    E1000State *s = VAR_0;

    NetClientState *nc = qemu_get_queue(s->nic);



    



    nc->link_down = (s->mac_reg[STATUS] & E1000_STATUS_LU) == 0;



    return 0;

}

static int FUNC_0(void *VAR_0, int VAR_1)
{ E1000State *s = VAR_0; NetClientState *nc = qemu_get_queue(s->nic); nc->link_down = (s->mac_reg[STATUS] & E1000_STATUS_LU) == 0; return 0; }