kernel-qemu-pci | custom PCI device in QEMU and a module for it in the Linux
kandi X-RAY | kernel-qemu-pci Summary
kandi X-RAY | kernel-qemu-pci Summary
Source code in module/. Please edit the custom rule of the Makefile before executing it! You might as well need to edit start_qemu.sh. In case you are already in a virtualized environment you can also run simply make to create a levpci.ko file which can be loaded by the running kernel. Note: there is no point in running make without any target in a non virtualized environment, since the module will not find the virtualized PCI device.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kernel-qemu-pci
kernel-qemu-pci Key Features
kernel-qemu-pci Examples and Code Snippets
Community Discussions
Trending Discussions on kernel-qemu-pci
QUESTION
I followed https://github.com/levex/kernel-qemu-pci to build a custom device. After building it along with the qemu source code (using "make" command), I ran
"qemu-system-x86_64 -m 256 -kernel arch/x86_64/boot/bzImage -initrd initrd.img -hda disk1.img -append root=/dev/sda -curses -s -device pic_levdev"
on my Linux vitual machine. But I get the error "pci_levdev: not a valid device model name".
I followed the below link to install qemu: https://www.youtube.com/watch?v=S1WsIbxbd_k
Any idea what I might be missing?
Thanks.
...ANSWER
Answered 2018-Oct-19 at 09:25Are you sure you're running the QEMU you just built (the executable will be in the x86_64-softmmu/ subdirectory), and not an old qemu-system-x86_64 on your PATH ? I suggest you specify the path to the new binary explicitly when running it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kernel-qemu-pci
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page