qemu-devel
[Top][All Lists]
Advanced

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

Questions about qemu virtual device.


From: 董 津玮
Subject: Questions about qemu virtual device.
Date: Tue, 23 Feb 2021 11:47:46 +0000

 

Hello, I am a student learning qemu project (specifically QOM), and I have wrote an virtual device. What should I do to compile it into “qemu-system_x86_64” so that I can test its function.

 

I’d like to start qemu by this command:

 

```shell

./qemu-system-x86_64 \

    -m 1G \

    -device my-device \

    -hda my-disk.img \

    -hdb my-seed.img \

    -nographic \

    -L pc-bios/ \

    -enable-kvm \

    -device e1000,netdev=net0 \

    -netdev user,id=net0,hostfwd=tcp::5555-:22

```


reply via email to

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