Skip to content

Instantly share code, notes, and snippets.

@abrodkin
Last active March 24, 2020 17:16
Show Gist options
  • Select an option

  • Save abrodkin/c0c85c2fe5678cdb9111d37464929ab8 to your computer and use it in GitHub Desktop.

Select an option

Save abrodkin/c0c85c2fe5678cdb9111d37464929ab8 to your computer and use it in GitHub Desktop.

Revisions

  1. abrodkin revised this gist Mar 24, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion QEMU tips and tricks.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ## VirGL
    ```
    ./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on
    ```

    ## Save console output to file
  2. abrodkin renamed this gist Mar 24, 2020. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions QEMU with VirGL.md → QEMU tips and tricks.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,10 @@
    ``` 
    ## VirGL
    ```
    ./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on
    ```
    ```

    ## Save console output to file
    ```
    qemu-system-arc -M simhs -nographic -no-reboot -monitor none -cpu archs -chardev stdio,id=char0,logfile=serial.log,signal=off -serial chardev:char0 -kernel vmlinux
    ```
  3. abrodkin revised this gist Jul 22, 2019. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions QEMU with VirGL.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
     ./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on
    ``` 
    ./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on
    ```
  4. abrodkin created this gist Jul 22, 2019.
    2 changes: 2 additions & 0 deletions QEMU with VirGL.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
     ./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
    ./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on