RE: executing user code to test qemu driver

2020-11-04 Thread Shaked Matzner
evice from the user code? BR, Shaked Matzner From: Shaked Matzner Sent: Wednesday, November 4, 2020 7:06 PM To: qemu-devel@nongnu.org Subject: executing user code to test qemu driver Hey all, So I've created a small test to check ioctl calls of my pci with dma driver, under a shared direct

executing user code to test qemu driver

2020-11-04 Thread Shaked Matzner
not found the file, also I wonder how does it recognize my kernel and devices), How should I compile it and run the code? BR, Shaked Matzner The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information

RE: simple example of pci driver with dma

2020-10-29 Thread Shaked Matzner
iowrite32(SIZE, mmio + IO_DMA_CNT); iowrite32(DMA_CMD | DMA_FROM_DEV | DMA_IRQ, mmio + IO_DMA_CMD); Where and when should the pci_set_master hould be called? Thanks, Shaked Matzner From: Peter Maydell Sent: Thursday, October 29, 2020 5:46 PM To: Shaked Matzner Cc: qemu-devel@n

simple example of pci driver with dma

2020-10-29 Thread Shaked Matzner
-hda $repo_loc/buildroot-2020.02.6/output/images/rootfs.ext4 \ -append "root=/dev/sda rw console=ttyS0,115200 acpi=off nokaslr" \ -serial stdio -display none \ -virtfs local,path=$repo_loc/shared,mount_tag=host0,security_model=passthrough,id=host0 \ -device edu