def METHOD_NAME(self):
    fdname = 'image0:r'
    result = self.vm.qmp('closefd', fdname=fdname)
    self.assert_qmp(result, 'error/class', 'GenericError')
    self.assert_qmp(result, 'error/desc',
        "File descriptor named '%s' not found" % fdname)