qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

executing user code to test qemu driver


From: Shaked Matzner
Subject: executing user code to test qemu driver
Date: Wed, 4 Nov 2020 17:05:37 +0000

Hey all,

So I’ve created a small test to check ioctl calls of my pci with dma driver, under a shared directory (which is mounted to the qemu-x86-64 instance).

I’ve just tried to compile it with gcc (gcc test_dma.c -o test_dma_exec)

I’ve tried to execute it from the qemu but it said it could 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 and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]