

def _load_vcpu_model(self, db_vcpu_model=None):
    if (db_vcpu_model is None):
        db_vcpu_model.vcpu_model = objects.VirtCPUModel.get_by_instance_uuid(self._context, self.uuid)
    else:
        db_vcpu_model = jsonutils.loads(db_vcpu_model)
        self.vcpu_model = objects.VirtCPUModel.obj_from_primitive(db_vcpu_model)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py Instance._load_vcpu_model/VarMisuse@23/37 `self`->`db_vcpu_model`