mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
cli: Add --controller driver.iothread
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
cee3f6b48e
commit
1f0c262051
@ -233,7 +233,7 @@
|
||||
<address type="pci" domain="0" bus="0" slot="4" function="2"/>
|
||||
</controller>
|
||||
<controller type="scsi" index="0" model="virtio-scsi">
|
||||
<driver queues="4"/>
|
||||
<driver queues="4" iothread="2"/>
|
||||
</controller>
|
||||
<controller type="xenbus" index="0" maxGrantFrames="64"/>
|
||||
<filesystem type="mount" accessmode="mapped">
|
||||
|
@ -622,7 +622,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
|
||||
--controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0,address.multifunction=on
|
||||
--controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master.startport=2
|
||||
--controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4
|
||||
--controller scsi,,model=virtio-scsi,driver_queues=4,driver.queues=4
|
||||
--controller scsi,,model=virtio-scsi,driver_queues=4,driver.queues=4,driver.iothread=2
|
||||
--controller xenbus,maxGrantFrames=64
|
||||
|
||||
--input type=keyboard,bus=usb
|
||||
|
@ -3429,6 +3429,7 @@ class ParserController(VirtCLIParser):
|
||||
cls.add_arg("index", "index")
|
||||
cls.add_arg("maxGrantFrames", "maxGrantFrames")
|
||||
cls.add_arg("master.startport", "master_startport")
|
||||
cls.add_arg("driver.iothread", "driver_iothread")
|
||||
cls.add_arg("driver.queues", "driver_queues")
|
||||
|
||||
cls.add_arg("address", None, lookup_cb=None, cb=cls.set_address_cb)
|
||||
|
@ -70,12 +70,14 @@ class DeviceController(Device):
|
||||
model = XMLProperty("./@model")
|
||||
vectors = XMLProperty("./@vectors", is_int=True)
|
||||
ports = XMLProperty("./@ports", is_int=True)
|
||||
master_startport = XMLProperty("./master/@startport", is_int=True)
|
||||
driver_queues = XMLProperty("./driver/@queues", is_int=True)
|
||||
maxGrantFrames = XMLProperty("./@maxGrantFrames", is_int=True)
|
||||
|
||||
index = XMLProperty("./@index", is_int=True)
|
||||
|
||||
driver_iothread = XMLProperty("./driver/@iothread", is_int=True)
|
||||
driver_queues = XMLProperty("./driver/@queues", is_int=True)
|
||||
|
||||
master_startport = XMLProperty("./master/@startport", is_int=True)
|
||||
|
||||
|
||||
##################
|
||||
# Default config #
|
||||
|
Loading…
Reference in New Issue
Block a user