History log of /fuchsia/zircon/docs/syscalls/guest_create.md
Revision Date Author Comments
# ddd7769b 19-Aug-2018 Abdulla Kamar <abdulla@google.com>

[hypervisor] Make guest rights more fine-grained

This allows us to drop the ability to create a VCPU, while still
maintaining the ability to set a trap.

MAC-154

Test: Ran "hypervisor-test" and "debian_guest".
Change-Id: I1cce67d4ec8c1dae38d717c68c9e08dd4970b504


# 3cab79f7 08-Aug-2018 Abdulla Kamar <abdulla@google.com>

[hypervisor] Reduce rights on a guest handle

ZX_RIGHT_WAIT and ZX_RIGHT_INSPECT don't (currently) make sense on a
guest.

Additionally, do some cleanup of the guest_create.md doc.

Test: Ran 'hypervisor-test'.
Change-Id: I295e8a81ac673213a7675252e72ed453718da6e3


# c60c64df 05-Aug-2018 Abdulla Kamar <abdulla@google.com>

[hypervisor] Make zx_guest_create return a VMAR

Modify zx_guest_create to return a VMAR that represents the guest
physical address space.

A follow up CL will cover changes to the MMU code that allows uncached
and write-combining VMOs to be mapped into the guest physical address
space VMAR.

Test: Ran 'vmar-test', 'hypervisor-test', 'machina_unittests',
and 'guest launch zircon_guest'
Change-Id: I4b9eada3ccb206a205c6b30f1cf882766ba70fed


# 0dd4c7c9 28-Jul-2018 Abdulla Kamar <abdulla@google.com>

[syscalls][hypervisor] Check for ZX_RIGHT_MAP

The VMO passed to zx_guest_create should be checked for the
ZX_RIGHT_MAP, since it will be mapped as guest physical address space.

Test: Ran "guest launch debian_guest".
Change-Id: Ied53949702d3c40d5b734d3a9692dfbd12cc02a7


# 99387274 23-Jul-2018 George Kulakowski <kulakowski@google.com>

[docs][syscalls] Add TODOs about documenting system call rights

ZX-2399 #comment

Test: no functional change
Change-Id: I1f285c677e2444fcf1d720d7ecbd9f490c303962


# 013973ad 26-Jun-2018 Doug Evans <dje@google.com>

[docs][syscalls] Clarify ZX_ERR_NO_MEMORY as eventually going away

Not touched:
vmo_op_range.md
vmo_set_size.md
vmo_write.md
The current text is ok for these.

ZX-2303 #comment patch

Tested: Just doc changes, read before/after.

Change-Id: I2c6e1039e2b205e9cc377b9888755fa7ac676c78


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 60e9e6c0 25-Jul-2017 Abdulla Kamar <abdulla@google.com>

[magenta] Add syscalls for the hypervisor.

This change adds 7 syscalls for the hypervisor:
* guest_create - create a guest
* guest_set_trap - sets a trap within a guest
* vcpu_create - create a VCPU
* vcpu_resume - resume execution of a VCPU
* vcpu_interrupt - issue an interrupt on a VCPU
* vcpu_read_state - read the state of a VCPU
* vcpu_write_state - write the state of a VCPU

This formalizes the hypervisor ops that were previously used by
promoting them to first-class syscalls.

Change-Id: I5d8e3772b98ae423faa39d21a6ef2901e940ffd9