static int get_uint8_equal(QEMUFile *f, void *pv, size_t size,

                           VMStateField *field)

{

    uint8_t *v = pv;

    uint8_t v2;

    qemu_get_8s(f, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int get_uint8_equal(QEMUFile *f, void *pv, size_t size,

                           VMStateField *field)

{

    uint8_t *v = pv;

    uint8_t v2;

    qemu_get_8s(f, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2,

                           VMStateField *VAR_3)

{

    uint8_t *v = VAR_1;

    uint8_t v2;

    qemu_get_8s(VAR_0, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2,
VMStateField *VAR_3)
{ uint8_t *v = VAR_1; uint8_t v2; qemu_get_8s(VAR_0, &v2); if (*v == v2) { return 0; error_report("%x != %x", *v, v2); return -EINVAL;