mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Save various defaults for shmem
We're keeping some things at default and that's not something we want to do intentionally. Let's save some sensible defaults upfront in order to avoid having problems later. The details for the defaults (of the newer implementation) can be found in qemu's commit 5400c02b90bb: http://git.qemu.org/?p=qemu.git;a=commit;h=5400c02b90bb Since we are merely saving the defaults it will not change the guest ABI and thanks to the fact that we're doing it in the PostParse callback it will not break the ABI stability checks. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-no-acpi \
|
||||
-boot c \
|
||||
-usb \
|
||||
-device ivshmem,id=shmem0,shm=shmem0,bus=pci.0,addr=0x3 \
|
||||
-device ivshmem,id=shmem0,size=4m,shm=shmem0,bus=pci.0,addr=0x3 \
|
||||
-device ivshmem,id=shmem1,size=128m,shm=shmem1,bus=pci.0,addr=0x5 \
|
||||
-device ivshmem,id=shmem2,size=256m,shm=shmem2,bus=pci.0,addr=0x4 \
|
||||
-device ivshmem,id=shmem3,size=512m,chardev=charshmem3,bus=pci.0,addr=0x6 \
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<memballoon model='none'/>
|
||||
<shmem name='shmem0'>
|
||||
<model type='ivshmem-plain'/>
|
||||
<size unit='M'>4</size>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</shmem>
|
||||
<shmem name='shmem1'>
|
||||
@@ -38,11 +39,13 @@
|
||||
<shmem name='shmem3'>
|
||||
<model type='ivshmem-doorbell'/>
|
||||
<server/>
|
||||
<msi ioeventfd='on'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
||||
</shmem>
|
||||
<shmem name='shmem4'>
|
||||
<model type='ivshmem-doorbell'/>
|
||||
<server path='/tmp/shmem4-sock'/>
|
||||
<msi ioeventfd='on'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
|
||||
</shmem>
|
||||
<shmem name='shmem5'>
|
||||
@@ -54,7 +57,7 @@
|
||||
<shmem name='shmem6'>
|
||||
<model type='ivshmem-doorbell'/>
|
||||
<server path='/tmp/shmem6-sock'/>
|
||||
<msi vectors='16'/>
|
||||
<msi vectors='16' ioeventfd='on'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
|
||||
</shmem>
|
||||
<shmem name='shmem7'>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<memballoon model='none'/>
|
||||
<shmem name='shmem0'>
|
||||
<model type='ivshmem'/>
|
||||
<size unit='M'>4</size>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</shmem>
|
||||
<shmem name='shmem1'>
|
||||
|
||||
Reference in New Issue
Block a user