Lines Matching refs:vtpminfo
94 libxl_vtpminfo *vtpminfo) in libxl_device_vtpm_getinfo() argument
101 libxl_vtpminfo_init(vtpminfo); in libxl_device_vtpm_getinfo()
102 vtpminfo->devid = vtpm->devid; in libxl_device_vtpm_getinfo()
104 vtpmpath = libxl__domain_device_frontend_path(gc, domid, vtpminfo->devid, in libxl_device_vtpm_getinfo()
106 libxl_path = libxl__domain_device_libxl_path(gc, domid, vtpminfo->devid, in libxl_device_vtpm_getinfo()
108 vtpminfo->backend = xs_read(ctx->xsh, XBT_NULL, in libxl_device_vtpm_getinfo()
110 if (!vtpminfo->backend) { in libxl_device_vtpm_getinfo()
114 rc = libxl__backendpath_parse_domid(gc, vtpminfo->backend, in libxl_device_vtpm_getinfo()
115 &vtpminfo->backend_id); in libxl_device_vtpm_getinfo()
120 vtpminfo->state = val ? strtoul(val, NULL, 10) : -1; in libxl_device_vtpm_getinfo()
124 vtpminfo->evtch = val ? strtoul(val, NULL, 10) : -1; in libxl_device_vtpm_getinfo()
128 vtpminfo->rref = val ? strtoul(val, NULL, 10) : -1; in libxl_device_vtpm_getinfo()
130 vtpminfo->frontend = xs_read(ctx->xsh, XBT_NULL, in libxl_device_vtpm_getinfo()
132 vtpminfo->frontend_id = domid; in libxl_device_vtpm_getinfo()
137 LOGD(ERROR, domid, "%s/uuid does not exist!", vtpminfo->backend); in libxl_device_vtpm_getinfo()
140 if(libxl_uuid_from_string(&(vtpminfo->uuid), val)) { in libxl_device_vtpm_getinfo()
143 vtpminfo->backend, val); in libxl_device_vtpm_getinfo()