Created
May 21, 2016 04:10
-
-
Save sprout42/16d3a2966a949b96368eaeeb9df620ce to your computer and use it in GitHub Desktop.
Rust running as a Xen Mini-OS guest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xen-test@xen-test:/usr/src/xen/stubdom/rust$ sudo xl create -c ./rust-dom.cfg | |
Parsing config from ./rust-dom.cfg | |
Xen Minimal OS! | |
start_info: 0xfa000(VA) | |
nr_pages: 0x2000 | |
shared_inf: 0x7fcd7000(MA) | |
pt_base: 0xfd000(VA) | |
nr_pt_frames: 0x5 | |
mfn_list: 0xea000(VA) | |
mod_start: 0x0(VA) | |
mod_len: 0 | |
flags: 0x0 | |
cmd_line: | |
stack: 0xa8b00-0xc8b00 | |
MM: Init | |
_text: 0x0(VA) | |
_etext: 0x78a64(VA) | |
_erodata: 0x91000(VA) | |
_edata: 0x92c40(VA) | |
stack start: 0xa8b00(VA) | |
_end: 0xe9408(VA) | |
start_pfn: 105 | |
max_pfn: 2000 | |
Mapping memory range 0x105000 - 0x2000000 | |
setting 0x0-0x91000 readonly | |
skipped 1000 | |
MM: Initialise page allocator for 113000(113000)-2000000(2000000) | |
MM: done | |
Demand map pfns at 2001000-0x2002001000. | |
Heap resides at 2002002000-4002002000. | |
Initialising timer interface | |
Initialising console ... done. | |
gnttab_table mapped at 0x2001000. | |
Initialising scheduler | |
Thread "Idle": pointer: 0x0x2002002050, stack: 0x0x130000 | |
Thread "xenstore": pointer: 0x0x2002002800, stack: 0x0x140000 | |
xenbus initialised on irq 1 mfn 0x722fb | |
Thread "shutdown": pointer: 0x0x2002002fb0, stack: 0x0x150000 | |
main.c: dummy main: start_info=0xc8c00 | |
Thread "main": pointer: 0x0x2002003760, stack: 0x0x160000 | |
[main] Waiting for network. | |
************************ NETFRONT for device/vif/0 ********** | |
net TX ring size 256 | |
net RX ring size 256 | |
Failed to read device/vif/0/backend-id. | |
Abort transaction writing tx ring-ref | |
[main] IP 0 netmask 0 gateway 0. | |
[main] TCP/IP bringup begins. | |
Thread "tcpip_thread": pointer: 0x0x2002004150, stack: 0x0x170000 | |
[tcpip_thread] TCP/IP bringup ends. | |
[main] Network is ready. | |
"main" | |
starting rust | |
Hello from Rust! | |
callback returned | |
close(0) | |
close(1) | |
close(2) | |
main returned 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment