提交 bb0bf87b 编写于 作者: J John Ferlan

Remove virDomainIOThreadsPinDel

This one is no longer necessary since the Vcpu and IOThreads API's share
上级 4985dde0
...@@ -16876,23 +16876,6 @@ virDomainEmulatorPinDel(virDomainDefPtr def) ...@@ -16876,23 +16876,6 @@ virDomainEmulatorPinDel(virDomainDefPtr def)
return 0; return 0;
} }
void
virDomainIOThreadsPinDel(virDomainDefPtr def,
unsigned int iothread_id)
{
size_t i;
virDomainPinDefPtr *iothreadspin_list = def->cputune.iothreadspin;
for (i = 0; i < def->cputune.niothreadspin; i++) {
if (iothreadspin_list[i]->id == iothread_id) {
virBitmapFree(iothreadspin_list[i]->cpumask);
VIR_DELETE_ELEMENT(def->cputune.iothreadspin, i,
def->cputune.niothreadspin);
return;
}
}
}
static int static int
virDomainEventActionDefFormat(virBufferPtr buf, virDomainEventActionDefFormat(virBufferPtr buf,
int type, int type,
......
...@@ -2573,9 +2573,6 @@ int virDomainEmulatorPinAdd(virDomainDefPtr def, ...@@ -2573,9 +2573,6 @@ int virDomainEmulatorPinAdd(virDomainDefPtr def,
int virDomainEmulatorPinDel(virDomainDefPtr def); int virDomainEmulatorPinDel(virDomainDefPtr def);
void virDomainIOThreadsPinDel(virDomainDefPtr def,
unsigned int iothread_id);
void virDomainRNGDefFree(virDomainRNGDefPtr def); void virDomainRNGDefFree(virDomainRNGDefPtr def);
bool virDomainDiskDefDstDuplicates(virDomainDefPtr def); bool virDomainDiskDefDstDuplicates(virDomainDefPtr def);
......
...@@ -312,7 +312,6 @@ virDomainHubTypeToString; ...@@ -312,7 +312,6 @@ virDomainHubTypeToString;
virDomainHypervTypeFromString; virDomainHypervTypeFromString;
virDomainHypervTypeToString; virDomainHypervTypeToString;
virDomainInputDefFree; virDomainInputDefFree;
virDomainIOThreadsPinDel;
virDomainLeaseDefFree; virDomainLeaseDefFree;
virDomainLeaseIndex; virDomainLeaseIndex;
virDomainLeaseInsert; virDomainLeaseInsert;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册