]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Remove virDomainIOThreadsPinDel
authorJohn Ferlan <jferlan@redhat.com>
Wed, 11 Mar 2015 20:47:15 +0000 (16:47 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 16 Mar 2015 15:54:57 +0000 (11:54 -0400)
This one is no longer necessary since the Vcpu and IOThreads API's share

src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms

index 90dbabd76d6f0b51f324c2bb1ad9641c2ca76a97..e8cda6ca28a89aea280c72b08374cfacf9fb8b5b 100644 (file)
@@ -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,
index 3b32c8d5b2415fb481eaa9da7e16f3975cbc751f..4b437b440c6a4842e8c9fcf95a49372d0c0d9836 100644 (file)
@@ -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);
index adbdece076b4156d9b78ad10c3afde3e0abf93a6..1fb42ac364c3a0041101baf354b3ecbdd5c1555b 100644 (file)
@@ -312,7 +312,6 @@ virDomainHubTypeToString;
 virDomainHypervTypeFromString;
 virDomainHypervTypeToString;
 virDomainInputDefFree;
-virDomainIOThreadsPinDel;
 virDomainLeaseDefFree;
 virDomainLeaseIndex;
 virDomainLeaseInsert;