

def _save_vcpu_model(self, context):
    if ('vcpu_model' in self.obj_what_changed()):
        if self.vcpu_model:
            update = jsonutils.dumps(self.vcpu_model.obj_to_primitive())
        else:
            update = None
        db.instance_extra_update_by_uuid(self, self.uuid, {
            'vcpu_model': update,
        })

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py Instance._save_vcpu_model/VarMisuse@61/87 `context`->`self`