mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Remove virDomainIOThreadsPinDel
This one is no longer necessary since the Vcpu and IOThreads API's share
This commit is contained in:
parent
4985dde0f5
commit
bb0bf87b24
@ -16876,23 +16876,6 @@ virDomainEmulatorPinDel(virDomainDefPtr def)
|
||||
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
|
||||
virDomainEventActionDefFormat(virBufferPtr buf,
|
||||
int type,
|
||||
|
@ -2573,9 +2573,6 @@ int virDomainEmulatorPinAdd(virDomainDefPtr def,
|
||||
|
||||
int virDomainEmulatorPinDel(virDomainDefPtr def);
|
||||
|
||||
void virDomainIOThreadsPinDel(virDomainDefPtr def,
|
||||
unsigned int iothread_id);
|
||||
|
||||
void virDomainRNGDefFree(virDomainRNGDefPtr def);
|
||||
|
||||
bool virDomainDiskDefDstDuplicates(virDomainDefPtr def);
|
||||
|
@ -312,7 +312,6 @@ virDomainHubTypeToString;
|
||||
virDomainHypervTypeFromString;
|
||||
virDomainHypervTypeToString;
|
||||
virDomainInputDefFree;
|
||||
virDomainIOThreadsPinDel;
|
||||
virDomainLeaseDefFree;
|
||||
virDomainLeaseIndex;
|
||||
virDomainLeaseInsert;
|
||||
|
Loading…
Reference in New Issue
Block a user