KVM: start kvmd via daemon-util
Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Added support for disk native AIO mode for KVM
This patch adds support for the native aio on KVMhypervisor.
Basically, It adds a new HV-KVM optional parameter"disk_aio" that can be set with the followings values:threads (the default for KVM) or native. If not set, it...
Move 'ConfigureNIC' to 'hv_base'
... so it can be reused by the Xen hypervisor.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>Reviewed-by: Hrvoje Ribicic <riba@google.com>
Extract 'GenerateTapName' to hypervisor base module
As mentioned, most of the body of the function 'GenerateKvmTapName' isbeing extracted to a separate function in the hypervisor base moduleso it can be reused by the Xen hypervisor.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>...
Rename 'GenerateTapName' to 'GenerateKvmTapName'
This is an intermediary step before extracting most of the body of'GenerateTapName' to a separate function that can be reused by the Xenhypervisor as well.
QMP: make QmpConnection act as a context manager
This will allow automatic connection and socket cleanup on commandcompletion.
We also repeat the Qmp tests using the context manager. For this to befeasible, we move the test scenario to class variables and modify...
QMP: always return the command result
According to the QEMU Machine Protocol Specification, the messages sentby QMP as a response to a command can be of two types: either an errormessage (identified by the "error" key), or a success message(identified by the "return" key)....
QMP: keep greeting message version info
QMP will always report the QEMU version and package-specific string inthe greeting message, as per the QEMU Machine Protocol Specification. Westore this information and make it available to users of the monitor....
QMP: raise exception on unsupported QMP command
Raise a special exception, qmp.QmpCommandNotSupported, whenever anunsupported QMP command is about to be executed. This is intended toassist in falling back to the human monitor for hotplug operations. As...
QMP: fetch supported commands on connect
Store the set of supported QMP commands inQmpConnection.supported_commands. This allows selective error handlingto give the caller a chance to downgrade to HMP when unsupportedcommands are encountered.
The `query-commands` QMP command used to implement this, appeared in...
View revisions
Also available in: Atom