some test code in both guest and host, using qemu virtio