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
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
Jim Meyering
260082321c
update .gitignore and .hgignore files
2009-03-03 11:25:00 +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 Veillard
1ca2bd7912
* qemud/qemud.c: fix qemu+tls handshake negotiation, patch by
...
Chris Lalancette
Daniel
2009-03-03 08:25:50 +00:00
Daniel P. Berrange
1d1748b63e
Ignore some generated autotools files in example app
2009-03-02 20:24:46 +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
0c85c384fa
tests: further isolate a test that runs libvirtd
...
* tests/daemon-conf: Specify a non-default socket directory.
Specify test-specific log directory and pid file, too.
2009-03-02 20:01:26 +00:00
Jim Meyering
d15549aee0
add two tests
...
* tests/libvirtd-pool: New file.
Exercise the new unix_sock_dir option
* tests/libvirtd-fail: New file.
* tests/Makefile.am (test_scripts): Add libvirtd-fail and libvirtd-pool.
2009-03-02 20:01:05 +00:00
Jim Meyering
0bfa7cbb29
tests: fix an error that made us skip the daemon-conf test
...
* tests/Makefile.am (CONFIG_HEADER): Correct definition.
2009-03-02 19:03:49 +00:00
Jim Meyering
7fad73685e
tests: test for a recent fix
...
* tests/libvirtd-net-persist: New file. Test for today's
"Mark 'defined' networks as persistent" fix.
* tests/Makefile.am (test_scripts): Add it.
2009-03-02 18:41:00 +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
Daniel Veillard
6427091ffe
* src/virsh.c: add 3 new commands for node device detach, reattach and reset,
...
patch by Mark McLoughlin.
Daniel
2009-03-02 16:28:17 +00:00
Daniel Veillard
737af2ea04
Adds the APIs for virNodeDeviceDettach , ReAttach and Reset
...
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
src/driver.h src/libvirt.c src/libvirt_public.syms
src/lxc_driver.c src/openvz_driver.c src/qemu_driver.c
src/test.c src/uml_driver.c: add the public APIs for
virNodeDeviceDettach virNodeDeviceReAttach and virNodeDeviceReset
and extends the driver structure accordingly.
Daniel
2009-03-02 16:25:13 +00:00
Daniel Veillard
d217641314
implements dettach, reattach and reset for PCI devices
...
* configure.in po/POTFILES.in src/Makefile.am src/libvirt_private.syms
src/pci.c src/pci.h: Add implementations of dettach, reattach and
reset for PCI devices, patch by Mark McLoughlin
Daniel
2009-03-02 16:18:11 +00:00
Daniel Veillard
a3ce3b1c71
* qemud/qemud.c src/node_device_hal.c: activate DBus multithreading
...
to avoid random crashes in the daemon, patch by Daniel Berrange
Daniel
2009-03-02 11:13:37 +00:00
Jim Meyering
14dfe93965
correct a typo in a diagnostic
...
* src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
s/owner/group/. Patch by Ryota Ozaki.
2009-03-02 10:27:20 +00:00
Jim Meyering
0fe3340ed9
plug two config-parsing leaks
...
* src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
(virStorageVolDefParsePerms): Likewise.
* AUTHORS: Update.
Patch by Ryota Ozaki.
2009-03-02 10:26:37 +00:00
Jim Meyering
07696eb347
don't dereference uninitialized pointer
...
* src/storage_conf.c (virStoragePoolDefParsePerms): Initialize
"ptr" to NULL.
2009-03-02 10:07:55 +00:00
Chris Lalancette
014bb5cf7e
If there is a failure during Qemu offline migrate, make sure to resume the
...
guest.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
2009-02-27 16:18:50 +00:00
Daniel Veillard
9bceeca83c
* docs/libvirt-api.xml docs/libvirt-refs.xml
...
docs/devhelp/libvirt-virterror.html docs/html/libvirt-virterror.html:
regenerated the APIs and documentation.
* po/*: updated the polish translation, regenerated.
daniel
2009-02-27 14:30:51 +00:00
Daniel P. Berrange
2e187bcbca
Add support for a exec callback in virExecWithHook
2009-02-26 16:27:51 +00:00
Daniel Veillard
66780313c2
New example program
...
* Makefile.am configure.in examples/hellolibvirt/Makefile.am
examples/hellolibvirt/hellolibvirt.c: new trivial example program
by David Allan
Daniel
2009-02-26 16:14:50 +00:00
Daniel Veillard
372d5b3088
* src/remote_internal.c: fix autostart of session daemon, patch
...
by Dan Berrange
Daniel
2009-02-26 15:06:06 +00:00
Daniel Veillard
299aefebf2
* src/storage_backend_fs.c: fix compile-error when configured without qemu-img
...
daniel
2009-02-26 14:36:30 +00:00
Daniel Veillard
a7868e0131
* python/Makefile.am: avoid a parallel make issue #472702
...
provided by Michael Marineau
Daniel
2009-02-26 13:58:35 +00:00