Daniel Veillard
bfc48afa14
cope with kernels where CLONE_NEWUSER is not supported
...
* src/lxc_container.c src/lxc_container.h: cope with kernels
where CLONE_NEWUSER is not supported, patch by Serge Hallyn
daniel
2009-04-20 12:27:12 +00:00
Mark McLoughlin
a4b1c0977a
Fix typo in manpage
...
It's "service libvirtd start", not "service start libvirtd".
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2009-04-20 11:55:53 +00:00
Daniel Veillard
55671efe80
* po/*: merge in a lot of localization updates and regenerate
...
daniel
2009-04-20 09:25:44 +00:00
Daniel Veillard
943a2f2b60
* src/bridge.c: fix a compilation breakage raised by Anton Protopopov
...
daniel
2009-04-20 09:18:26 +00:00
Daniel P. Berrange
fd9a55254f
Added new virt-xml-validate tool to mingw specfile
2009-04-19 16:47:43 +00:00
Daniel P. Berrange
969209ce07
Disable vbox driver for mingw32 builds
2009-04-19 16:37:15 +00:00
Daniel P. Berrange
89626e8d69
Add another vbox file to EXTRA_DIST
2009-04-19 16:36:22 +00:00
Daniel P. Berrange
ac6797b28c
Add missing break in error code
2009-04-19 15:49:00 +00:00
Daniel P. Berrange
cfa30de3b8
Improve error reporting for lookup failures on inactive domains
2009-04-19 15:30:50 +00:00
Daniel P. Berrange
c881b32215
Fix 2 domain ID handling bugs in remote driver
2009-04-19 15:21:54 +00:00
Daniel P. Berrange
cb43623acd
Switch over todo domain lookup based on UUID in virDomainAssignDef
2009-04-19 15:16:43 +00:00
Daniel P. Berrange
8372a8c127
Regenerate API docs to pull in vbox driver error codes
2009-04-19 15:14:44 +00:00
Daniel P. Berrange
001390a684
Add 2 missing vbox files to EXTRA_DIST
2009-04-19 15:12:01 +00:00
Daniel P. Berrange
fa4126087b
Add tool for validating XML & fix misc bugs in virsh POD docs
2009-04-19 15:10:45 +00:00
Daniel P. Berrange
9a15c48d2d
Switch to using virDomainDefPtr for building command line in QEMU driver
2009-04-19 14:50:01 +00:00
Daniel Veillard
2cd9b2d8ee
drop the pool lock when allocating fs volumes
...
* src/libvirt_private.syms src/storage_backend.h
src/storage_backend_fs.c src/storage_conf.h src/storage_driver.c:
drop the pool lock when allocating fs volumes, patch by Cole Robinson
daniel
2009-04-17 19:12:37 +00:00
Daniel Veillard
10d1650843
integration of the VirtualBox support
...
* configure.in include/libvirt/virterror.h src/Makefile.am
src/domain_conf.[ch] src/driver.h src/virterror.c src/vbox/README
src/vbox/vbox_CAPI_v2_2.h src/vbox/vbox_V2_2.c
src/vbox/vbox_XPCOMCGlue.[ch] src/vbox/vbox_driver.[ch]
src/vbox/vbox_tmpl.c: integration of the VirtualBox support
patches by Pritesh Kothari
Daniel
2009-04-17 16:09:07 +00:00
Daniel Veillard
81e6a22192
Small doc fixes
...
* src/libvirt.c: fix the doc of virNodeGetFreeMemory to say bytes
* docs/drvlxc.html.in docs/drvlxc.html: fix command used in examples
daniel
2009-04-17 15:34:53 +00:00
Guido Günther
d24f6aabbb
fix "make syntax-check"
2009-04-17 08:21:40 +00:00
Guido Günther
5caa1e0eb0
Don't log monitor output to domain log file.
...
It's logged via the logging system already. Prefix monitor debug output with vm
name.
2009-04-16 15:56:27 +00:00
Guido Günther
a6c612a4ad
don't hardcode buffer for getgrnam_r to 1024 bytes and increase it on ERANGE.
2009-04-16 14:53:19 +00:00
Mark McLoughlin
9fa79000ec
qemu -drive takes format= not fmt=
...
Seems like a simple typo - it has been "format=" since the flag
was introduced, but we added it as "fmt=".
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2009-04-16 14:21:35 +00:00
Mark McLoughlin
169afbe9aa
Fix lxc syntax-check failure
...
Fixes:
CHECK: avoid_if_before_free
src/lxc_container.c: if (oldroot) VIR_FREE(oldroot)
src/lxc_container.c: if (newroot) VIR_FREE(newroot)
Makefile.maint: found useless "if" before "free" above
and:
src/lxc_container.c:317:
Makefile.maint: found trailing blank(s)
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2009-04-16 13:08:03 +00:00
Daniel Veillard
316befbb0c
Api documentation
...
* docs/Makefile.am docs/api.html docs/api.html.in docs/archdomain.html
docs/archnetwork.html docs/archnode.html docs/archstorage.html
docs/goals.html docs/intro.html
docs/libvirt-daemon-arch.fig docs/libvirt-daemon-arch.png
docs/libvirt-driver-arch.fig docs/libvirt-driver-arch.png
docs/libvirt-object-model.fig docs/libvirt-object-model.png
docs/page.xsl docs/sitemap.html docs/sitemap.html.in:
adding a new api page, extending the stylesheet to allow references
and including images from Dan Berrange
daniel
2009-04-15 20:42:50 +00:00
Daniel Veillard
f61208bde9
* src/virsh.c: fix for virsh ttyconsole return value bug #495954
...
daniel
2009-04-15 20:09:09 +00:00
Daniel Veillard
a28a644680
* drvlxc.html.in drvlxc.html: some examples from Serge Hallyn
...
daniel
2009-04-15 20:00:29 +00:00
Daniel Veillard
14687aad81
* src/xm_internal.c: fix a crash on vcpupin to inactive Xen domains,
...
as raised by Takahashi Tomohiro
daniel
2009-04-15 09:53:34 +00:00
Daniel Veillard
cab9eed62e
* src/lxc_driver.c: adds the getHostname method to the lxc driver
...
patch by Dan Smith
daniel
2009-04-15 09:34:56 +00:00
Dan Smith
06e43a8f2c
Commit patches by Serge Hallyn from 6-Apr and 7-Apr
2009-04-14 17:51:12 +00:00
Daniel Veillard
4fb341d741
* libvirt.spec.in: fix build on RHEL and Centos 5.x
...
daniel
2009-04-14 12:47:34 +00:00
Daniel Veillard
b2df3510b7
* src/storage_backend_scsi.[ch]: add SCSI storage rescan support,
...
patch by David Allan
daniel
2009-04-07 12:50:17 +00:00
Daniel Veillard
8536e697b6
release of 0.6.2
...
* configure.in libvirt.spec.in NEWS docs/*: release of 0.6.2
* po/*: Gujarati and Polish updates, rebuild
* AUTHORS: add one missing
Daniel
2009-04-03 15:25:38 +00:00
Cole Robinson
6d910c9fd4
Don't lose file format info on volume refresh.
2009-04-03 14:17:57 +00:00
Cole Robinson
766b2250e1
Refresh volume alloc/capacity when dumping XML.
2009-04-03 14:15:30 +00:00
Cole Robinson
a843f44c51
Fix test driver domain restore return value.
2009-04-03 14:14:05 +00:00
Cole Robinson
e807e4d9e9
Fix sparse volume allocation reporting.
2009-04-03 14:13:02 +00:00
Daniel P. Berrange
9ec1a56923
Fix crash in svirt verification, and incorrect cleanup in VM failure paths
2009-04-03 14:10:17 +00:00
Daniel P. Berrange
f0817018b1
Allow autoconnect to virsh console in create/start. Refuse to connect to remote consoles
2009-04-03 14:03:38 +00:00
Daniel P. Berrange
92ff72b52c
Misc NUMA related fixes
2009-04-03 12:45:05 +00:00
Daniel P. Berrange
e4073623a6
Support PCI passthrough for Xen
2009-04-03 12:38:52 +00:00
Daniel P. Berrange
11b0ed46c5
Improve security label error reporting & verification (Dan Walsh)
2009-04-03 10:55:51 +00:00
Daniel P. Berrange
d9ec9c6937
Fix mingw32 portability
2009-04-02 18:42:33 +00:00
Daniel Veillard
0722925986
* docs/schemas/domain.rng: some missing disk bus values and cleanups
...
daniel
2009-04-02 13:19:11 +00:00
Daniel Veillard
89dd05cc6f
* docs/*: start cleanup/revamp of architecture docs
...
daniel
2009-04-02 12:01:11 +00:00
Daniel Veillard
8b8f4c5cbc
* po/*: updated brazilian, spanish, polish and simplified chinese translations
...
and regenerated
Daniel
2009-04-02 09:56:17 +00:00
Daniel P. Berrange
55ae53d971
SCSI HBA storage pool implementation (Dave Allan)
2009-04-01 16:03:22 +00:00
Daniel P. Berrange
ecedb9cef3
Make SASL check also look for libsasl.so if libsasl2.so is missing
2009-04-01 10:40:38 +00:00
Daniel P. Berrange
10467f1c5b
Fix crash after calling virConnectClose
2009-04-01 10:39:12 +00:00
Daniel P. Berrange
61243e0f57
Fix generation of networkCreateXML and storagePoolCreateXML
2009-04-01 10:37:57 +00:00
Daniel P. Berrange
b02c0455d1
Fix localtime handling for newer XenD
2009-04-01 10:36:52 +00:00
Daniel P. Berrange
e4c65831e3
Misc fixes uncovered by OOM testing
2009-04-01 10:31:01 +00:00
Daniel P. Berrange
dab6391f2d
Sanitize symlink resolution
2009-04-01 10:26:22 +00:00
Daniel P. Berrange
9a47149559
Fix misc memory handling bugs
2009-04-01 10:21:34 +00:00
Daniel P. Berrange
83a618f807
Add support for vifname= in XM config files
2009-04-01 10:16:05 +00:00
Daniel P. Berrange
3ad8a273b5
Improve error reporting in Xen driver SEXPR generation
2009-04-01 10:01:23 +00:00
Daniel P. Berrange
b2f5ba21b8
Fix error message in node device lookup
2009-04-01 09:55:32 +00:00
Daniel P. Berrange
461afc2200
Fix URI check in QEMU migration
2009-04-01 09:54:20 +00:00
Daniel P. Berrange
45707d5631
Add treeview to node device listing in virsh
2009-04-01 09:52:59 +00:00
Chris Lalancette
4d3d0039e5
Convert all drivers to use old-style struct initializers; this makes a handy
...
built-in TODO list for each driver. Also rip out the internal getURI method;
it is never used by any of the drivers, and was buggy to boot.
2009-03-31 15:47:16 +00:00
Daniel Veillard
c61180dcd7
* libvirt.spec.in: better modularization of the spec file,
...
patch by Ryota Ozaki
daniel
2009-03-31 12:45:07 +00:00
Daniel Veillard
b7071653fa
* src/util.c: fix virRun() to prevent zombies on pipe errors,
...
patch by Ryota Ozaki
daniel
2009-03-31 12:26:54 +00:00
Daniel P. Berrange
3b97f7db53
DOn't try to query memory balloon if guest isn't active
2009-03-27 14:57:51 +00:00
Daniel P. Berrange
cb7593bd19
Support memory ballooning in QEMU
2009-03-27 11:44:29 +00:00
Daniel P. Berrange
97230f6a35
Default to native arch, and check domain type when auto-filling guest arch (Soren Hansen)
2009-03-24 11:16:29 +00:00
Daniel P. Berrange
667f669fdc
Include 'CHECK: ' prefix when printing name of each syntax-check rule that is run
2009-03-24 11:00:21 +00:00
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
92d313ebe6
Fix test breakage on x86_64 from previous change
2009-03-20 11:44:17 +00:00
Daniel P. Berrange
b75a469852
More flexible setup of QEMU capabilities/emulators
2009-03-20 11:20:26 +00:00
Daniel Veillard
0ad4ece725
* docs/schemas/domain.rng: extend definition for security attributes
...
daniel
2009-03-19 14:26:51 +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 P. Berrange
2dedb34a91
Added ac97 soundcard to RNG schema & tests (Pritesh Kothari)
2009-03-16 10:47:12 +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
29ed758ae0
Fix dispatch of FD events when one or more handles are marked deleted
2009-03-16 10:35:21 +00:00
Daniel P. Berrange
24a149cfa2
Fix handling of cpumaps arg to virDomainGetVcpus RPC dispatcher
2009-03-16 10:33:01 +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 Veillard
e43d1ae0c6
* NEWS configure.in libvirt.spec.in doc/* include/libvirt/libvirt.h:
...
release of 0.6.1
* po/*: rebuilt
* AUTHORS: updated to list new contributors
Daniel
2009-03-04 13:17:44 +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 Veillard
d15b1a93fc
* po/*: update italian, polish and brazilian translations, regenerate
...
daniel
2009-03-03 14:36:28 +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