8d4614a qemu: Use domain iothreadids to IOThread's 'thread_id'

Authored and Committed by John Ferlan 8 years ago
    qemu: Use domain iothreadids to IOThread's 'thread_id'
    
    Add 'thread_id' to the virDomainIOThreadIDDef as a means to store the
    'thread_id' as returned from the live qemu monitor data.
    
    Remove the iothreadpids list from _qemuDomainObjPrivate and replace with
    the new iothreadids 'thread_id' element.
    
    Rather than use the default numbering scheme of 1..number of iothreads
    defined for the domain, use the iothreadid's list for the iothread_id
    
    Since iothreadids list keeps track of the iothread_id's, these are
    now used in place of the many places where a for loop would "know"
    that the ID was "+ 1" from the array element.
    
    The new tests ensure usage of the <iothreadid> values for an exact number
    of iothreads and the usage of a smaller number of <iothreadid> values than
    iothreads that exist (and usage of the default numbering scheme).
    
        
file modified
+1 -0
file modified
+10 -12
file modified
+28 -9
file modified
+3 -0
file modified
+0 -36
file modified
+0 -3
file modified
+16 -19
file modified
+24 -20
file modified
+2 -0
file modified
+2 -0