Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor / hv_lxc.py @ 98dfcaff

History | View | Annotate | Download (13.8 kB)

# Date Author Comment
b459a848 08/30/2011 11:24 am Andrea Spadaccini

DeprecationWarning fixes for pylint

In version 0.21, pylint unified all the disable-* (and enable-*)
directives to disable (resp. enable). This leads to a lot of
DeprecationWarning being emitted even if one uses the recommended
version of pylint (0.21.1, as stated in devnotes.rst)....

323f9095 07/08/2011 03:15 pm Stephen Shirley

Add gnt-instance start --pause

Creates the instance, but pauses execution before booting. This combined
with 'gnt-instance console' unpausing instances means that the entire
boot process can be viewed and monitored.

Signed-off-by: Stephen Shirley <>...

55cc0a44 01/07/2011 05:34 pm Michael Hanselmann

Use new console information in hypervisor abstraction

This makes use of the new way of returning console information from the
master daemon. Unittests are included.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

e3ed5316 07/16/2010 12:48 pm Balazs Lecz

LXC: Add cpu_mask hypervisor parameter

Also implement syntax checking.

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

13c564e7 07/09/2010 06:17 pm Balazs Lecz

LXC: Create per-instance log files

This replaces the single global log file with per-instance logs.
The instance log file is not truncated when the instance is started.

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

c83864fe 07/09/2010 06:17 pm Balazs Lecz

LXC: Fix wording of error messages

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

b8aa46ed 07/09/2010 06:17 pm Balazs Lecz

LXC: Fix GetInstanceInfo()

Don't try to get cgroups info if instance is not running.

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

63cef6c3 07/08/2010 06:57 pm Balazs Lecz

LXC: Fix GetAllInstancesInfo()

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

c4d3e57f 07/07/2010 09:07 pm Balazs Lecz

LXC: Report actual number of CPUs

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

637c8ab8 07/07/2010 04:36 pm Balazs Lecz

LXC: add lxc.console to the generated lxc.conf file

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

d01baf53 07/07/2010 04:36 pm Balazs Lecz

LXC: Use lxc-info to get instance info

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

a188f1ef 07/06/2010 05:10 pm Balazs Lecz

LXC: use utils.GetMounts()

Signed-off-by: Balazs Lecz <>
Reviewed-by: Iustin Pop <>

4b5e40a5 06/30/2010 04:46 pm Iustin Pop

Barebones LXC hypervisor

This needs lots of work, but it can successfully launch an LXC-based
instance. See the docstring for the limitations/work to be done.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>