-
-
Save m1cr0man/6acd74dbd3941b01abae95cb6a90d841 to your computer and use it in GitHub Desktop.
Sound card passthrough debug data
This file contains 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
IOMMU Group 17: | |
07:00.0 Audio device [0403]: Creative Labs EMU20k2 [Sound Blaster X-Fi Titanium Series] [1102:000b] (rev 03) |
This file contains 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
07:00.0 Audio device: Creative Labs EMU20k2 [Sound Blaster X-Fi Titanium Series] (rev 03) | |
Subsystem: Creative Labs Device 0044 | |
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- | |
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- | |
Latency: 0, Cache Line Size: 64 bytes | |
Interrupt: pin A routed to IRQ 9 | |
IOMMU group: 17 | |
Region 0: Memory at e3200000 (64-bit, non-prefetchable) [size=64K] | |
Region 2: Memory at e3000000 (64-bit, non-prefetchable) [size=2M] | |
Region 4: Memory at e2000000 (64-bit, non-prefetchable) [size=16M] | |
Capabilities: [40] Power Management version 3 | |
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) | |
Status: D3 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- | |
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ | |
Address: 0000000000000000 Data: 0000 | |
Capabilities: [58] Express (v2) Endpoint, MSI 00 | |
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us | |
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W | |
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- | |
RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ | |
MaxPayload 128 bytes, MaxReadReq 512 bytes | |
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- | |
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us | |
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- | |
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- | |
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- | |
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok) | |
TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- | |
DevCap2: Completion Timeout: Range ABCD, TimeoutDis- NROPrPrP- LTR- | |
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- | |
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- | |
FRS- TPHComp- ExtTPHComp- | |
AtomicOpsCap: 32bit- 64bit- 128bitCAS- | |
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, | |
AtomicOpsCtl: ReqEn- | |
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis- | |
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- | |
Compliance De-emphasis: -6dB | |
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- | |
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- | |
Retimer- 2Retimers- CrosslinkRes: unsupported | |
Kernel driver in use: vfio-pci | |
Kernel modules: snd_ctxfi |
This file contains 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
tapdev=macvtap3 | |
mac=52:54:00:e2:d6:77 | |
if ! test -e /sys/class/net/$tapdev; then | |
ip l add name $tapdev link eth0 type macvtap mode bridge | |
fi | |
ip l set $tapdev addr $mac | |
ip l set $tapdev up | |
/run/libvirt/nix-emulators/qemu-system-x86_64 \ | |
-name guest=win7,debug-threads=on \ | |
-machine pc-q35-5.1,mem-merge=on,pflash0=pflash0-blkdev,pflash1=pflash1-blkdev \ | |
-accel kvm,kernel-irqchip=on \ | |
-cpu host,kvm=off \ | |
-m 12288 \ | |
-smp 4,sockets=1,cores=2,threads=2,maxcpus=4 \ | |
-monitor stdio \ | |
-nodefaults \ | |
-cdrom /var/lib/libvirt/images/virtio-win-0.1.189.iso \ | |
-vga qxl \ | |
-spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on \ | |
-netdev tap,fd=7,id=hostnet0 \ | |
-blockdev node-name=os-storage,driver=host_device,filename=/dev/zvol/zroot/windows7-new,discard=unmap,aio=native,cache.direct=on \ | |
-blockdev node-name=pflash0-blkdev,driver=file,filename=/run/libvirt/nix-ovmf/OVMF_CODE.fd,discard=unmap,read-only=on \ | |
-blockdev node-name=pflash1-blkdev,driver=file,filename=OVMF_VARS.fd,discard=unmap,read-only=off \ | |
-device pcie-root-port,bus=pcie.0,multifunction=on,port=1,chassis=1,id=rp0 \ | |
-device ich9-usb-ehci1,id=usb0,bus=rp0,addr=00.0,multifunction=on \ | |
-device virtio-net,netdev=hostnet0,id=net0,mac=$mac,bus=rp0,addr=00.1 \ | |
-device virtio-blk-pci,drive=os-storage,bootindex=1,id=virtio-disk0,bus=rp0,addr=00.2 \ | |
-device pcie-root-port,bus=pcie.0,port=2,chassis=2,id=rp1 \ | |
-device vfio-pci,host=0000:07:00.0,id=hostdevxfi,bus=rp1 \ | |
-device usb-host,vendorid=0x1b1c,productid=0x1a16 \ | |
7<>/dev/tap$(< /sys/class/net/$tapdev/ifindex) |
This file contains 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
Motherboard: Intel DX79TO | |
CPU: Intel Core i7 3820 | |
RAM: 32GB | |
OS: NixOS 21.03 Kernel 5.4.65 | |
QEMU version: 5.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment