0% found this document useful (0 votes)
54 views20 pages

2011 Forum Libvirt

This document summarizes information presented at the KVM Forum in Vancouver, 2011 about libvirt and libguestfs. It discusses why these projects exist, who contributes to them, what virtualization and platforms they support, how they work and how to use them, where they are used, and where to get help. It provides an overview of the benefits of KVM and areas for future development of libvirt.

Uploaded by

millajovavich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views20 pages

2011 Forum Libvirt

This document summarizes information presented at the KVM Forum in Vancouver, 2011 about libvirt and libguestfs. It discusses why these projects exist, who contributes to them, what virtualization and platforms they support, how they work and how to use them, where they are used, and where to get help. It provides an overview of the benefits of KVM and areas for future development of libvirt.

Uploaded by

millajovavich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

KVM Forum Vancouver, 2011

Daniel P. Berrang <[email protected]>

libvirt: Why it exists

Stable: isolation from HV

!" chan#es

Stan$ar$: %ortable across HV Sim%le: ra%i$ a%%lication $evelo%ment !ortable: &inux, Solaris, Win$o's ( )S*+ Secure: ,&S, S S&, SSH, !olicyKit )%en: &-!&v2. license

libvirt: Who contributes

Foun$er: libvirt: /e$ Hat, libvirt*cim: "0M 1or%orate: "0M, Fu2itsu, Siemens, 3ovell, 1anonical, Sun, 1itrix, H!, 4ell, 555an$ more555 1ommunity: Fe$ora, 4ebian, -entoo, Suse, 555many unaffliate$ $evelo%ers555

libvirt: What virtuali6ation7

89M: ; KVM, 89M: VMWare ; 9S+, -S+ Server, v1enter +en ; +en4, +enStore$, +en Hy%ervisor &+1 ; native &inux containers ,est ; <moc=< hy%ervisor /emote ; /!1 access to !"s
555Virtual0ox, )%enV>, !hy%, :M&, +en !", ?soon Hy%er*V@

libvirt: What %latforms7

&inux: /!1 client.server, all hy%ervisor $rivers )S*+: /!1 client Win$o's: /!1 client, 9S+.Virtual0ox ?Hy%er*V@ Solaris: /!1 client, +en $river

libvirt: What else7

Stora#e: &VM, 4is=, S1S", iS1S", 3FS 3et'or=: bri$#e, bon$in#, vlan, V9! Fire'all: filterin# ebtables, i%?A@tables 4evices: H &, u$ev Security: S9&inux, %% rmour

libvirt: Ho' it 'or=s

libvirt: Ho' to use it

1ore: 1 library 0in$in#s: !erl, !ython, )1aml, Bava, /uby, 1C, !h% Ma%%in# to 1"MD4M,F: libvirt*cim Ma%%in# to M8!D8MF: libvirt*Emf Ma%%in# to S3M!: libvirt*snm% Ma%%in# to -)b2ect: libvirt*#lib

libvirt: Where it is use$

virt*mana#er: $es=to% mana#er a%% virt*inst: install, clone, $e%loy a%%liance cobbler: net'or= installation service rhn: re$ hat net'or= mana#ement /H9V*MDV4SM: $ata center mana#ement #nome*shell: $es=to% inte#ration virt*$mes#: #uest =ernel $mes#

libvirt: KVM #eneral benefits

1!:"4: verifie$ mi#ration com%atibility Mi#ration: secure tunnellin# -uest 0": stable !1" a$$rs ( har$'are 1&": com%ly 'D 89M: best %ractice Monitor: com%ly 'D 89M: best %ractice SaveDrestore: com%ression, )F4"/91,

libvirt: KVM resource benefits

1-rou%s: 1!:, memory, $is= "D) limits 3et'or=: "D) limits, %ac=et filterin# &oc=in#: $is= lease mana#ement 9ncry%tion: Eco'2 encry%tion =ey m#mt !1": $evice assi#nment safety chec=s

libvirt: KVM security benefits

4 1: un%rivile#e$ :"4:-"4 M 1: sVirt 'ith S9&inux or 1-rou%s: $evice 1&s %% rmour 1a%abilities: bloc= setui$ usa#e u$it: lo##in# of o%erations 1ertification: common criteria 1ontainers: !"4, FS, 3et names%ace ?,04@

libvirt: for KVM $evelo%ers

1ustom

/-VD93V:

<qemu:arg value='-somenewarg'/> <qemu:env name='FOO' value='BAR'/>

Monitor %assthrou#h:
virsh qemu-monitor-command hm! "in#o reg$$$%

ttach to external %rocess:


virsh qemu-attach &'()

libvirt: Where next

/0 1: fine #raine$ access control 4,race: lo' overhea$ $ynamic %robin# Scalability: co%e 'ith 1,000<s VMsDhost iS1S": &:3 creation libvirt*#confi#, libosinfo, libvirt*install

lib#uestfs: Why it exists

Stable: lon# term

!"D 0" #uarentee

Stan$ar$: access for any $is= format Sim%le: ra%i$ a%%lication $evelo%ment )%en: &-!&v2. license

lib#uestfs: What features

4is=s: bloc=, ra', Eco'2, vm$=, etc Filesystems: ext2, G, H, isoIAA0, 3,FS ctions: rea$D'riteDe$itDu%loa$D$o'nloa$ Misc: &VM, $m*cry%t, fstab )S: ny ?if &inux su%%orts the FS@

lib#uestfs: Ho' to use it

1ore: 1

!"

0in$in#s: !erl, !ython, )1aml, /uby, Bava Shell: #uestfish )S: F:S9 filesystem 4es=to%: #uest filesystem bro'ser

lib#uestfs: Ho' to use it

virt*rescue: fix bro=en #uest )S virt*$f: #uest filesystem usa#e virt*catDvirt*ls: rea$ file D list $irectory virt*resi6e: chan#e virtual $is= si6e virt*tar: $o'nloa$ archive of files virt*'in*re#: e$it Win$o's re#istry virt*v2v: convert #uest to ne' hy%ervisor

libvirtDlib#uestfs: Ho' to #et hel%

Websites 1ore libvirt

htt%:DDlibvirt5or# D htt%:DDlib#uestfs5or# htt%:DD'i=i5libvirt5or#

!" $ocumentation %%lication 4evelo%er -ui$e


?libvirt, virt*mana#er, etc@

libvirt*users D lib#uestfs mailin# lists Cvirt on irc5oftc5net Clib#uestfs on irc5freeno$e5net

http://libvirt.org/

You might also like