Last active
July 29, 2018 06:23
-
-
Save darthbanana13/5c93b71b8c6f783d734ab149e90867bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# PulseAudio is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
# General Public License for more details. | |
# | |
# You should have received a copy of the GNU Lesser General Public License | |
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. | |
## Configuration file for PulseAudio clients. See pulse-client.conf(5) for | |
## more information. Default values are commented out. Use either ; or # for | |
## commenting. | |
; default-sink = | |
; default-source = | |
; default-server = | |
; default-dbus-server = | |
; autospawn = yes | |
; daemon-binary = /usr/bin/pulseaudio | |
; extra-arguments = --log-target=syslog | |
; cookie-file = | |
enable-shm = yes | |
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB | |
auto-connect-localhost = yes | |
auto-connect-display = yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# PulseAudio is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
# General Public License for more details. | |
# | |
# You should have received a copy of the GNU Lesser General Public License | |
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. | |
## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for | |
## more information. Default values are commented out. Use either ; or # for | |
## commenting. | |
daemonize = yes | |
; fail = yes | |
allow-module-loading = yes | |
; allow-exit = yes | |
use-pid-file = yes | |
; system-instance = no | |
; local-server-type = user | |
enable-shm = yes | |
; enable-memfd = yes | |
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB | |
; lock-memory = no | |
; cpu-limit = no | |
high-priority = yes | |
nice-level = -20 | |
; nice-level = -11 | |
realtime-scheduling = yes | |
realtime-priority = 99 | |
; realtime-priority = 5 | |
; exit-idle-time = 20 | |
; scache-idle-time = 20 | |
; dl-search-path = (depends on architecture) | |
; load-default-script-file = yes | |
; default-script-file = /etc/pulse/default.pa | |
; log-target = auto | |
; log-level = notice | |
; log-meta = no | |
; log-time = no | |
; log-backtrace = 0 | |
; resample-method = speex-float-1 | |
; avoid-resampling = false | |
; enable-remixing = yes | |
; remixing-use-all-sink-channels = yes | |
; enable-lfe-remixing = no | |
; lfe-crossover-freq = 0 | |
flat-volumes = no | |
; rlimit-fsize = -1 | |
; rlimit-data = -1 | |
; rlimit-stack = -1 | |
; rlimit-core = -1 | |
; rlimit-as = -1 | |
; rlimit-rss = -1 | |
; rlimit-nproc = -1 | |
; rlimit-nofile = 256 | |
; rlimit-memlock = -1 | |
; rlimit-locks = -1 | |
; rlimit-sigpending = -1 | |
; rlimit-msgqueue = -1 | |
; rlimit-nice = 31 | |
rlimit-nice = 99 | |
; rlimit-rtprio = 9 | |
rlimit-rtprio = -20 | |
; rlimit-rttime = 200000 | |
; default-sample-format = s16le | |
; default-sample-rate = 44100 | |
; alternate-sample-rate = 48000 | |
; default-sample-channels = 2 | |
; default-channel-map = front-left,front-right | |
; default-fragments = 4 | |
; default-fragment-size-msec = 25 | |
; enable-deferred-volume = yes | |
deferred-volume-safety-margin-usec = 1 | |
; deferred-volume-extra-delay-usec = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>win8.1</name> | |
<uuid>0712c98c-e42a-4eb5-b4a9-4b42e4bf8161</uuid> | |
<memory unit='KiB'>16777216</memory> | |
<currentMemory unit='KiB'>16777216</currentMemory> | |
<memoryBacking> | |
<hugepages/> | |
</memoryBacking> | |
<vcpu placement='static'>8</vcpu> | |
<iothreads>1</iothreads> | |
<cputune> | |
<vcpupin vcpu='0' cpuset='1'/> | |
<vcpupin vcpu='1' cpuset='11'/> | |
<vcpupin vcpu='2' cpuset='2'/> | |
<vcpupin vcpu='3' cpuset='12'/> | |
<vcpupin vcpu='4' cpuset='3'/> | |
<vcpupin vcpu='5' cpuset='13'/> | |
<vcpupin vcpu='6' cpuset='4'/> | |
<vcpupin vcpu='7' cpuset='14'/> | |
<iothreadpin iothread='1' cpuset='5,15'/> | |
</cputune> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type> | |
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> | |
<nvram>/var/lib/libvirt/qemu/nvram/win8.1_VARS.fd</nvram> | |
<bootmenu enable='no'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<hyperv> | |
<relaxed state='on'/> | |
<vapic state='on'/> | |
<spinlocks state='on' retries='8191'/> | |
<vendor_id state='on' value='Banana'/> | |
</hyperv> | |
<kvm> | |
<hidden state='on'/> | |
</kvm> | |
<vmport state='off'/> | |
</features> | |
<cpu mode='host-passthrough' check='partial'> | |
<topology sockets='1' cores='4' threads='2'/> | |
</cpu> | |
<clock offset='localtime'> | |
<timer name='rtc' tickpolicy='catchup'/> | |
<timer name='pit' tickpolicy='delay'/> | |
<timer name='hpet' present='no'/> | |
<timer name='hypervclock' present='yes'/> | |
</clock> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>destroy</on_crash> | |
<pm> | |
<suspend-to-mem enabled='no'/> | |
<suspend-to-disk enabled='no'/> | |
</pm> | |
<devices> | |
<emulator>/usr/bin/kvm-spice</emulator> | |
<disk type='block' device='disk'> | |
<driver name='qemu' type='raw' cache='none' io='native'/> | |
<source dev='/dev/sda'/> | |
<target dev='vda' bus='virtio'/> | |
<boot order='2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/home/revan/virtio-win-0.1.141.iso'/> | |
<target dev='hdc' bus='ide'/> | |
<readonly/> | |
<address type='drive' controller='0' bus='1' target='0' unit='0'/> | |
</disk> | |
<controller type='usb' index='0' model='nec-xhci'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
</controller> | |
<controller type='pci' index='0' model='pci-root'/> | |
<controller type='ide' index='0'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | |
</controller> | |
<controller type='virtio-serial' index='0'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | |
</controller> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<sound model='ich6'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
</sound> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='usb' managed='yes'> | |
<source> | |
<vendor id='0x1532'/> | |
<product id='0x0043'/> | |
</source> | |
<address type='usb' bus='0' port='4'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x00' slot='0x19' function='0x0'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
</hostdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='2'/> | |
</redirdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='3'/> | |
</redirdev> | |
<memballoon model='virtio'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> | |
</memballoon> | |
</devices> | |
<qemu:commandline> | |
<qemu:env name='QEMU_AUDIO_DRV' value='pa'/> | |
<qemu:env name='QEMU_PA_SAMPLES' value='8192'/> | |
<qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='99'/> | |
</qemu:commandline> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment