Commit 8373bc4f authored by Luke Nowakowski-Krijger's avatar Luke Nowakowski-Krijger Committed by Paolo Bonzini

Documentation: virtual: Convert paravirt_ops.txt to .rst

Convert paravirt_opts.txt to .rst format to be able to be parsed by
sphinx.

Made some minor spacing and formatting corrections to make defintions
much more clear and easy to read. Added default kernel license to the
document.
Signed-off-by: default avatarLuke Nowakowski-Krijger <lnowakow@eng.ucsd.edu>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d7a08882
.. SPDX-License-Identifier: GPL-2.0
============
Paravirt_ops Paravirt_ops
============ ============
...@@ -18,15 +21,15 @@ at boot time. ...@@ -18,15 +21,15 @@ at boot time.
pv_ops operations are classified into three categories: pv_ops operations are classified into three categories:
- simple indirect call - simple indirect call
These operations correspond to high level functionality where it is These operations correspond to high level functionality where it is
known that the overhead of indirect call isn't very important. known that the overhead of indirect call isn't very important.
- indirect call which allows optimization with binary patch - indirect call which allows optimization with binary patch
Usually these operations correspond to low level critical instructions. They Usually these operations correspond to low level critical instructions. They
are called frequently and are performance critical. The overhead is are called frequently and are performance critical. The overhead is
very important. very important.
- a set of macros for hand written assembly code - a set of macros for hand written assembly code
Hand written assembly codes (.S files) also need paravirtualization Hand written assembly codes (.S files) also need paravirtualization
because they include sensitive instructions or some of code paths in because they include sensitive instructions or some of code paths in
them are very performance critical. them are very performance critical.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment