Daniel P. Berrange
60623a7ce0
Add support for a non-template filesystem root. (Florian Vichot)
2009-03-24 10:59:13 +00:00
Daniel Veillard
aac6018a35
fix missing authentication on virsh shell commands
...
* src/virsh.c: fix missing authentication when command are issued
from the shell, patch by Matthias Bolte
Daniel
2009-03-23 16:36:32 +00:00
Daniel Veillard
de4950b200
* src/util.c: flag unused parameters, by Maximilian Wilhelm
...
daniel
2009-03-20 20:46:07 +00:00
Daniel Veillard
c29d092905
use posix_fallocate() to allocate diskspace faster
...
* src/libvirt_private.syms src/storage_backend_fs.c src/util.c
src/util.h: use posix_fallocate() on supported systems to
allocate diskspace faster, patches by Amit Shah
Daniel
2009-03-20 12:17:56 +00:00
Daniel P. Berrange
b75a469852
More flexible setup of QEMU capabilities/emulators
2009-03-20 11:20:26 +00:00
Daniel P. Berrange
c86afc85ee
Fix labelling of shared/readonly devices (Dan Walsh)
2009-03-17 11:35:40 +00:00
Daniel Veillard
df59fdce06
* src/remote_internal.c: remove file descriptors leak
...
daniel
2009-03-17 11:00:56 +00:00
Cole Robinson
b68a19be0f
Don't allow readonly connections to dump secure xml.
2009-03-16 17:21:12 +00:00
Cole Robinson
2068f2f5a3
Initialize security driver after config parsing
2009-03-16 17:16:04 +00:00
Cole Robinson
d2c77e06c7
Fix test driver 'save' deadlock
2009-03-16 17:14:34 +00:00
Daniel P. Berrange
b44af714d3
Support SASL auth for VNC server.
2009-03-16 13:54:26 +00:00
Daniel P. Berrange
8fa62166c4
Avoid deadlock setting vcpus in QEMU driver
2009-03-16 11:44:46 +00:00
Daniel P. Berrange
35625e5aa8
Fix subsystem lookup for older HAL releases
2009-03-16 10:56:01 +00:00
Daniel Veillard
aa08419ca8
Avoid some potential FILE * leaks
...
* qemud/qemud.c src/cgroup.c src/uml_driver.c src/util.c: close
some potential FILE * leaks
Daniel
2009-03-16 10:41:37 +00:00
Daniel P. Berrange
2567fac4a7
Don't free storage volume in cleanup path, since it may still be referenced
2009-03-16 10:31:38 +00:00
Daniel P. Berrange
aad6873175
Don't try to close NULL virConnectPtr object
2009-03-16 10:30:04 +00:00
Daniel Veillard
a3262d812b
* src/storage_conf.c: fix storage pool mode parsing, and refactoring
...
patch by Ryota Ozaki
Daniel
2009-03-12 20:15:32 +00:00
Daniel Veillard
bdd6894713
* src/xs_internal.c: fix xen events handling problem (Dan Berrange)
...
Daniel
2009-03-11 13:43:24 +00:00
Daniel Veillard
27a63a76af
* src/xend_internal.c: fix an allocation problem in xenDaemonDomainLookupByName_ids
...
Daniel
2009-03-10 11:13:32 +00:00
Daniel P. Berrange
4dfb7e8b2e
Fix Xen block detach with newer Xend (Cole RobinSon / Tomohiro Takahashi)
2009-03-10 10:32:24 +00:00
Daniel Veillard
7f39e2e5e5
* src/cgroup.c src/cgroup.h src/lxc_driver.c: allows to get
...
CPU usage of a lxc using cpuacct subsystem of cgroups, patch
by Ryota Ozaki
Daniel
2009-03-06 14:44:04 +00:00
Daniel P. Berrange
4ebe4c108d
Fix misc failures in test suite & make test cases more robust to future changes
2009-03-04 13:04:06 +00:00
Daniel P. Berrange
b9739b4709
Add missing locking calls in remote driver
2009-03-03 19:33:34 +00:00
Daniel P. Berrange
3aed672836
Use lseek+saferead/write for pci.c & dont link to qemu driver for nodedevxml2xmltest
2009-03-03 17:00:18 +00:00
Daniel P. Berrange
61796bdb4b
Explicitly track static declared vs dynamically generated security labels
2009-03-03 16:53:13 +00:00
Daniel P. Berrange
e4818895c1
Misc sVirt bug fixes
2009-03-03 15:18:24 +00:00
Jim Meyering
efa5832b0a
config: fix a typo
...
* src/qemu_conf.c (CHECK_TYPE): Fix typo:
s/security_river/security_driver/
2009-03-03 15:12:30 +00:00
Daniel P. Berrange
d0aa10fdd6
QEMU security driver usage for sVirt support (James Morris, Dan Walsh, Daniel Berrange)
2009-03-03 12:03:44 +00:00
Daniel P. Berrange
b756b005ec
Replace use of qemudLog with logging.h APIs/macros
2009-03-03 11:40:08 +00:00
Jim Meyering
10e3148f0a
avoid file descriptor leak when fd == 0
...
* src/pci.c (pciGetDevice): Initialize dev->fd to -1, not 0.
(pciFreeDevice): Close fd also when it is 0.
2009-03-03 11:25:52 +00:00
Jim Meyering
8343dcb893
don't leak a file descriptor on failed pciGetDevice call
...
* src/pci.c (pciIterDevices): Always close dir handle.
2009-03-03 11:25:35 +00:00
Daniel P. Berrange
41ed6eb327
SELinux security driver for sVirt support (James Morris, Dan Walsh & Daniel Berrange)
2009-03-03 10:06:49 +00:00
Daniel P. Berrange
aa2c97263d
virsh additions for sVirt support (James Morris & Dan Walsh)
2009-03-03 09:59:02 +00:00
Daniel P. Berrange
8bd1604cb7
Core internal driver stub for sVirt support (Jams Morris & Dan Walsh)
2009-03-03 09:44:41 +00:00
Daniel P. Berrange
a8cd24b346
Remote protocol / RPC API for sVirt support (James Morris & Dan Walsh)
2009-03-03 09:27:02 +00:00
Daniel P. Berrange
8d13558ae6
Internal driver API for sVirt support (James Morris & Dan Walsh)
2009-03-03 09:14:28 +00:00
Daniel P. Berrange
0b7860ecdd
Public API for sVirt support (James Morris & Dan Walsh)
2009-03-03 09:09:00 +00:00
Daniel P. Berrange
8f1912c58d
Don't try to detach & reset PCI devices while running test suite for XML-> ARGV conversion.
2009-03-03 08:59:45 +00:00
Daniel P. Berrange
72652e9dbb
Always reset PCI devices
2009-03-02 20:22:35 +00:00
Daniel P. Berrange
644b41a94d
Export virUnrefConnect & virCapabilitiesGenerateMac to driver code
2009-03-02 20:19:13 +00:00
Jim Meyering
9883bec50d
virsh: tweak a format string to avoid emitting trailing space
...
* src/virsh.c (cmdNetworkList): Change format not to right-pad
with spaces, as that would have required a trailing blank in
an expected output file.
2009-03-02 18:39:36 +00:00
Cole Robinson
aedf57db70
Fix bridge generation loop counter (spotted by Jim Meyering)
2009-03-02 17:56:50 +00:00
Cole Robinson
f9cbf065ad
Recognize ejectable media in hostdev hal driver.
2009-03-02 17:41:13 +00:00
Cole Robinson
4837725f37
Better error reporting from qemu AttachDevice
2009-03-02 17:39:43 +00:00
Cole Robinson
1f11e3bb61
Generate network bridge names if none passed at define/create time.
2009-03-02 17:37:03 +00:00
Cole Robinson
adecc8fc9e
Remove redundant monitor watch variable (s/monitor_watch/monitorWatch/)
2009-03-02 17:33:39 +00:00
Cole Robinson
895247b76b
Mark 'defined' networks as persistent.
2009-03-02 17:29:44 +00:00
Daniel Veillard
09fb8845a7
adds a new <hostdev managed='(yes|no)'> property to host devices in domains
...
* docs/schemas/domain.rng src/domain_conf.c src/domain_conf.h
src/qemu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml:
adds a new <hostdev managed='(yes|no)'> property
to host devices indicating whether or not we should
automatically dettach/reset, patch by Mark McLoughlin
daniel
2009-03-02 16:40:30 +00:00
Daniel Veillard
34d23b0b01
* src/qemu_driver.c: add qemu dettach/reattach/reset implementation
...
patch by Mark McLoughlin.
Daniel
2009-03-02 16:32:52 +00:00
Daniel Veillard
0231102863
Implement node attach/reattach/reset in the remote driver
...
* qemud/remote.c qemud/remote_dispatch_args.h
qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_table.h
qemud/remote_protocol.c qemud/remote_protocol.h
qemud/remote_protocol.x src/remote_internal.c: Implement
attach/reattach/reset in the remote driver, patch by Mark
McLoughlin.
Daniel
2009-03-02 16:30:59 +00:00