Comment 8 for bug 2023211

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 2023211] Re: Run emulated riscv64 VMs on amd64

I have a newer patch that allowed me to create an instance, although it seems to not successfully
boot, I'm investigating that issue now.

$ openstack server list

+--------------------------------------+-----------------+--------+---------------------------------
-----------------------+--------------+----------+
| ID | Name | Status | Networks
| Image | Flavor |
+--------------------------------------+-----------------+--------+---------------------------------
-----------------------+--------------+----------+
| 51d815d0-a0c2-4a9e-93ab-26aed2df746f | my-riscv64-test | ACTIVE | private=10.0.0.13,
fd60:1406:b51:0:f816:3eff:fee7:b4b7 | riscv64-test | m1.small |
+--------------------------------------+-----------------+--------+---------------------------------
-----------------------+--------------+----------+
$ openstack console log show my-riscv64-test

OpenSBI v0.9
   ____ _____ ____ _____
  / __ \ / ____| _ \_ _|
 | | | |_ __ ___ _ __ | (___ | |_) || |
 | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
 | |__| | |_) | __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name : riscv-virtio,qemu
Platform Features : timer,mfdeleg
Platform HART Count : 1
Firmware Base : 0x80000000
Firmware Size : 100 KB
Runtime SBI Version : 0.2

Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000000000000
Domain0 Next Arg1 : 0x00000000bf000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes

Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcsu
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count : 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
$ sudo virsh list --all
 Id Name State
-----------------------------------
 1 instance-00000002 running

$ sudo virsh dumpxml instance-00000002 | pastebinit
https://paste.ubuntu.com/p/Bn2YBHP2HJ/