- 16 7月, 2009 18 次提交
-
-
由 Laine Stump 提交于
* src/driver.h: add new driver functions virDrvNumOfDefinedInterfaces and virDrvListDefinedInterfaces * src/libvirt.c: implements the entry points, calling new driver functions * qemud/remote.c qemud/remote_dispatch_args.h qemud/remote_protocol.[chx] qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_ret.h qemud/remote_dispatch_table.h src/remote_internal.c: implement the client/server side of the RPC
-
由 Laine Stump 提交于
* include/libvirt/libvirt.h[.in]: adds signatures for the new exported functions virConnectNumOfDefinedInterfaces and virConnectListDefinedInterfaces * src/libvirt_public.syms: export the new symbols
-
由 Daniel P. Berrange 提交于
This renames a lot of the methods in the remote driver client to more accurately reflect their responsibility of IO handling vs message handling.
-
由 Daniel P. Berrange 提交于
Remove redundant error reporting functions which obscured the filename/line number reporting. Removed code which created a virDomain/virNetwork object, since those are silently dropped in error reporting functions now * src/remote_internal.c: Remove error() and errorf() in favour of macros, and remove server_error in favour of direct call
-
由 Daniel P. Berrange 提交于
Splits up the 'call' method moving generic IO code out into separate method to allow it to be easily reused for sending data streams * src/remote_internal.c: Split 'call' into two methods, the first with same name serializes a set of method arguments into a message, the second 'remoteIO' takes a pre-serialized messages, sends it and awaits a reply
-
由 Daniel P. Berrange 提交于
* src/remote_internal.c: Rename processCallRecvMsg to processCallDispatch, and move code specific to method replies into processCallDispatchReply, and rename processCallAsyncEvent to processCallDispatchMessage
-
由 Daniel P. Berrange 提交于
The 'remote_message_header' struct has a mis-leadingly named field 'direction'. It is really a reflection of the type of message, and some types can be sent in either direction. Thus the field is more accurately named 'type'. No function change. * qemud/remote_protocol.x: Rename 'direction' to 'type' in 'remote_message_header. Write better docs describing the message header field semantics & usage * qemud/remote_protocol.c, qemud/remote_protocol.h: Regenerate * qemud/remote.c, qemud/dispatch.c, src/remote_internal.c Update to reflect rename of 'direction' to 'type'
-
由 Daniel P. Berrange 提交于
The naming convention for structs used in the RPC layer is for incoming requests to be called XXXX_args, and the associated outgoing reply to be called XXXX_ret. Asynchronously emitted messages (eg events) are re-using the XXXX_ret naming scheme. This patch changes that such that async messages are XXXX_msg, and stops adding entries for them in the dispatch table, avoiding the need for a dummy no-op implementation. * qemud/remote.c: Remove dummy remoteDispatchDomainEvent, no longer required. Update to replace remote_domain_event_ret with xdr_remote_domain_event_msg * qemud/remote_protocol.x: Rename remote_domain_event_ret to remote_domain_event_msg * qemud/remote_generate_stubs.pl: Adding handling for new XXX_msg structs. * src/remote_internal.c: Rename remote_domain_event_ret to remote_domain_event_msg * qemud/remote_dispatch_prototypes.h, qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h, qemud/remote_protocol.h, qemud/remote_protocol.c: auto-regenerate
-
由 Paolo Bonzini 提交于
* src/qemu_driver.c (qemudDomainCoreDump): New (qemuDriver): Add core dump function. The behaviour is similar as the current Xen dump
-
由 Paolo Bonzini 提交于
* src/virsh.c: adds cd and pwd commands to virsh useful for save and restore commands * docs/virsh.pod virsh.1: update the documentation * AUTHORS: add Paolo Bonzini
-
由 Jim Meyering 提交于
by running this command: git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/' This is in preparation for a more strict make syntax-check rule that will detect trailing blank lines.
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
* src/qemu_driver.c: Relabel disk images *before* running QEMU hotplug monitor commands
-
由 Daniel P. Berrange 提交于
* src/qemu_driver.c: Try new monitor syntax for hotplug first. If that fails fallback to old KVM specific syntax
-
由 Daniel P. Berrange 提交于
after a libvirtd daemon restart with active guests * src/qemu_driver: Read and dicard pending monitor data before issuing new monitor commands.
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
* src/remote_internal.c: Disable libvirtd autostart if the LIBVIRT_AUTOSTART=0 env variable is set * src/libvirt.c: Document environment variables can impact the virConnectOpen API
-
由 Daniel Veillard 提交于
* src/interface_conf.c src/interface_conf.h: the import and export routines and the internal APIs * src/Makefile.am: hook the new file in the makefiles * src/libvirt_private.syms: export a few private symbols internally * po/POTFILES.in: the new file contains translatable strings
-
- 15 7月, 2009 2 次提交
-
-
test:///由 Daniel P. Berrange 提交于
* src/remote_internal.c: Ensure that all test:/// URIs are dealt with by the auto-started, per-user unprivileged libvirtd instances
-
由 Daniel P. Berrange 提交于
* qemud/remote.c: Send back the actual libvirt connection error rather than formatting a generic error for security driver methods * src/libvirt.c: Fix virDomainGetSecurityLabel, and virNodeGetSecurityModel to correctly set the error on the virConnectPtr object, and raise a full error rather than warning when not supported
-
- 11 7月, 2009 2 次提交
-
-
由 Cole Robinson 提交于
The 'pipe' character type wasn't documented. TCP uses a <protocol> element, not <wire> We weren't doing strict validation for protocol and source mode values.
-
由 Cole Robinson 提交于
If the qemu_driver was not initialized (possibly due to an error on driver startup), we can segfault if attempting to connect to the URI.
-
- 10 7月, 2009 5 次提交
-
-
由 Mark McLoughlin 提交于
* src/domain_conf.c: replace open coded chr type parsing with virDomainChrTypeFromString(), retaining the existing semantics where unknown types are silently mapped to the "null" type and "pty" is used if none is specified
-
由 Mark McLoughlin 提交于
We keep support for the pty based monitor so that we can re-connect to VMs started by older versions of libvirtd. * src/domain_conf.c: handle formatting and parsing unix monitors * src/qemu_driver.c: add qemudOpenMonitorUnix(), remove the monitor pty path searching from qemudFindCharDevicePTYs(), switch qemudStartVMDaemon() and qemuDomainXMLToNative() to using a unix monitor * tests/qemuxml2argvtest.c: switch to using a unix monitor * tests/qemuxml2argvdata/qemuxml2argv-*.args: update test data
-
由 Mark McLoughlin 提交于
There are no functional changes in this patch apart from adding the monitor type to the state XML. The patch mostly consists of switching to use virDomainChrDef every where to describe the monitor. * src/domain_conf.h: replace monitorpath with monitor_chr * src/domain_conf.c: handle parsing the monitor type and initializing monitor chr * src/qemu_conf.[ch]: make qemudBuildCommandLine take a virDomainChrDefPtr and use that to build the -monitor parameter * src/qemu_driver.c: split pty specific and common code from qemudOpenMonitor, have qemudStartVMDaemon() initialize monitor_chr * tests/qemuxml2argvtest.c: update for qemudBuildCommandLine() change
-
由 Mark McLoughlin 提交于
* src/qemu_driver.c: use a consistent coding style for function definitions
-
由 Mark McLoughlin 提交于
* src/qemu_driver.c: vm->monitorpath is already initialized in the case of re-connect, so move the initialization for the normal startup case out of the common code
-
- 08 7月, 2009 5 次提交
-
-
由 Jim Meyering 提交于
-
由 Daniel P. Berrange 提交于
* src/qemu_conf.c, src/qemu_conf.h: Use -vga or -std-vga when starting guests if video card is present * tests/qemuhelptest.c: Change to use constants instead of hardcoded hex numbers, and add VGA support * tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml, tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.args, tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml, tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.args, tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml, tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml, tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml, tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml: Add <video> element for testing graphics adapter * tests/qemuxml2argvtest.c: Add QEMUD_CMD_FLAG_VGA flag * tests/qemuxml2xmltest.c: Add missing graphics-vnc-sasl/tls tests
-
由 Daniel P. Berrange 提交于
* docs/schemas/domain.rng: Define <video> element schema * src/domain_conf.c, src/domain_conf.h, src/libvirt_private.syms: Add parsing and formatting for <video> element
-
由 Daniel Veillard 提交于
* src/network_driver.c src/node_device.c src/storage_driver.c: many places in the code reported 'No xxx with matching name" after a Lookup error without reporting the name used by the failed lookup
-
由 Harshavardhana 提交于
* src/storage_conf.c src/storage_conf.h: adds glusterfs to the list of network storage * libvirt.spec.in: adds the dependency on glusterfs-client
-
- 07 7月, 2009 1 次提交
-
-
由 Paolo Bonzini 提交于
* src/qemu_conf.c: when connecting an interface if it reference an undefined network, then we used to raise an internal error.
-
- 03 7月, 2009 4 次提交
-
-
由 Daniel Veillard 提交于
* src/qemu_conf.c: patch from C.J. Adams-Collier adding support for arm emulation if qemu-system-arm is present daniel
-
由 Mark McLoughlin 提交于
Fixes startup of guest's with sourceless cdrom devices. Patch from Cole Robinson originally posted here: https://bugzilla.redhat.com/499569 but never sent upstream. Signed-off-by: NMark McLoughlin <markmc@redhat.com>
-
由 Mark McLoughlin 提交于
As pointed out by Tim Waugh here: https://bugzilla.redhat.com/507555 We shouldn't bother trying to set the context of a file if it already matches what we want. (Fixed to use STREQ() and not use tabs, as pointed out by danpb) Signed-off-by: NMark McLoughlin <markmc@redhat.com>
-
由 Mark McLoughlin 提交于
This patch was posted ages ago here: https://bugzilla.redhat.com/493692 But was never posted upstream AFAICT. Patch from Dan Berrange Signed-off-by: NMark McLoughlin <markmc@redhat.com>
-
- 02 7月, 2009 2 次提交
-
-
由 Daniel Veillard 提交于
* docs/schemas/network.rng: fix the network schemas to match new accepted elements, patch by Satoru SATOH * src/network_conf.c: fix network driver to save the domain name in XML if present, patch by Satoru SATOH * AUTHORS: adding Satoru SATOH Daniel
-
由 Daniel Veillard 提交于
* src/node_device.c: fix an endless loop in node device XML dump, patch by Cole Robinson Daniel
-
- 01 7月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/libvirt.c src/virterror.c: fix some missing comments in public modules. * docs/libvirt-api.xml docs/libvirt-refs.xml docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html: regenerated documentation * po/*: updated the polish localization and regenerated Daniel
-