Tag Archives: qemu

QEMU Run x86_64 on ARM64 Server command

This is a work note for run x86_64 on ARM64 server .
Because they are different archeticture, so, run x86_64 on ARM server would be very slow.

and some functions might be different when run on different platform

Read more »

Kdump in ubuntu 18.04 ARM64


kdump is very good tool to debug complex system like cloud data center, it can easy to save kernel status when crash.
Running kdump in ARM64 just like running in x86, but I met a strange problem on ARM64 platform.

The kernel version is HWE kernel, current version is 4.18.0-25, mihbt be encounter those problems

Read more »

QEMU change default nat address configure file

In ubuntu, if install libvirt, it will bring up bridge interface virbr0 and configure the ip address 192.168.122.1

modify /etc/libvirt/qemu/networks/default.xml can change that

QEMU Share Directory with Host Without Networking

If Guest Support 9P and virtio.

Add this line to QEMU command

-virtfs local,path=/path/to/share,mount_tag=host0,security_model=passthrough,id=host0

and in guest os, edit /etc/fstab and add

host0   /wherever    9p      trans=virtio,version=9p2000.L   0 0

ref.
https://superuser.com/questions/628169/how-to-share-a-directory-with-the-host-without-networking-in-qemu

aarch64/ARM64 virt-install 啟動方法

雖然 ubuntu 有好用的 uvttool-libvirt 可以管理 cloud image , 但是似乎在 aarch64/ARM64 的平台上會有問題,
參數傳進去的時候似乎都會叫起來 VGA (cirrus), 但是 QEMU aarch64 上不支援 VGA (至少我用的不支援)
替代方案就是用 Virt Manager
Read more »