From Fedora Project Wiki

No edit summary
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{header|docs}}
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
==Libvirt Client Access Control==
[[Category:Documentation beats]]
 
The '''libvirt''' client allows for the setting of permission rules which can be applied to all managed objects and API operations, thus allowing for all client connections to be limited to a minimal set of rules and privileges.
There are three levels of access which can be assigned:


* Unauthenticated - used for all connections, this state allows all API operations that are required to complete authentication. Following a successful authentication, two more levels can be assigned:
== AArch64 QEMU/KVM VM installation with libvirt and virt-manager support ==
** Unrestricted - full access to all API operations
You may now use '''libvirt''' and '''virt-manager''' to install a virtual machine on the AArch64 architecture with the KVM hypervisor.
** Restricted - read only access


System administrators can set permission rules for authenticated connections. Every API call in libvirt has a set of permissions that are validated against the object that is being used. For example, User A wants to change a parameter in the '''domain''' object. When the user tries to save the change, '''virDomainSetSchedulerParametersFlags''' method will check whether the client user has the write permission on the domain object instance passed in as a parameter. Additional checks and permission settings can be processed as well. Filtering can also be done to see which clients have permissions on which objects to allow for smother administration of permissions.  
Instructions are available here:
The '''libvirtd.conf''' configuration file is responsible for setting the access permissions. It uses the access_drivers parameter to enable this operation. Note that if more than one access driver is requested, all must succeed in order for permission to be granted.
* https://fedoraproject.org/wiki/Architectures/AArch64/Install_with_QEMU
More information can be found here:
* https://fedoraproject.org/wiki/QA:Testcase_Virt_AArch64_on_x86


* https://fedoraproject.org/wiki/Changes/Virt_ACLs
== UEFI VMs installation with libvirt and virt-manager support ==
* http://libvirt.org/acl.html
UEFI install options are now automatically available if UEFI/OVMF binaries are installed.  


==Virt-manager Snapshots==
Instructions are available here:
Virtual Machine Manager ('''virt-manager''') allows for easy management and monitoring of KVM guest virtual machine snapshots. Note that '''virt-manager''' will pause the guest virtual machine for a few seconds while taking the snapshot.
More information is available here:
* https://fedoraproject.org/wiki/Changes/Virt_Manager_Snapshots
* http://fedoraproject.org/wiki/Features/Virt_Live_Snapshots
* http://libvirt.org/formatsnapshot.html
* Snapshot section here: http://linux.die.net/man/1/virsh
* https://fedoraproject.org/wiki/QA:Testcase_Virt_Snapshot_UI


==ARM emulation on x86 Host Physical Machines==
* https://fedoraproject.org/wiki/QA:Testcase_Virtualization_UEFI
Changes have been made to have smoother emulation of ARM guest virtual machines running on x86 hosts using standard '''libvirt''' tools, including '''virsh''', '''virt-manager''' and '''virt-install'''.
* https://fedoraproject.org/wiki/Using_UEFI_with_QEMU
'''qemu''' has an ARM emulator that works well and is actively used in the  Fedora ARM effort. However '''libvirt''' and '''virt-manager''' currently have  issues launching '''qemu-system-arm''' VMs, mostly by encoding x86 assumptions  in the generated command line that cause '''qemu-system-arm''' to fail to  start. Changes have been made to fix this issue.
More information can be found here: https://fedoraproject.org/wiki/Changes/Virt_ARM_on_x86


== RBD and Gluster support with virt-install and virt-manager ==


[[Category:Docs Project]]
'''virt-manager''' and '''virt-install''' is now supported for RBD and Gluster storage. Both tools can now
[[Category:Draft documentation]]
easily use pre-configured gluster and rbd storage volumes.
[[Category:Documentation beats]]

Revision as of 06:56, 17 May 2015


AArch64 QEMU/KVM VM installation with libvirt and virt-manager support

You may now use libvirt and virt-manager to install a virtual machine on the AArch64 architecture with the KVM hypervisor.

Instructions are available here:

UEFI VMs installation with libvirt and virt-manager support

UEFI install options are now automatically available if UEFI/OVMF binaries are installed.

Instructions are available here:

RBD and Gluster support with virt-install and virt-manager

virt-manager and virt-install is now supported for RBD and Gluster storage. Both tools can now easily use pre-configured gluster and rbd storage volumes.