def METHOD_NAME(self):
    result = self.vm.qmp('remove-fd', fdset_id=2)
    self.assert_qmp(result, 'return', {})
    result = self.vm.qmp('query-fdsets')
    self.assert_qmp(result, 'return[0]/fdset-id', 1)
    self.assert_qmp(result, 'return[1]/fdset-id', 0)
    self.assert_qmp(result, 'return[0]/fds[0]/opaque', 'image0:r')
    self.assert_qmp(result, 'return[0]/fds[1]/opaque', 'image1:w+')
    self.assert_qmp(result, 'return[1]/fds[0]/opaque', 'image2:r')
    self.vm.shutdown()