Hello,
On Thursday 17 November 2011 18:39:15 Eric Blake wrote:
> Is any of this worth keeping on the public libvir-list?
Not much but to be careful when you upgrade any part of libvirt, qemu(-kvm) or
it's (external*) dependencies like etherboot/iPXE, vgabios and seabios,
because it can invalida
On 11/26/2011 02:14 PM, Bastien ROUCARIES wrote:
Malloc page than realloc to smaller does not work ?
There is no constraint that realloc(X, N) returns X, even if N is
smaller than the previous allocation size.
Paolo
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/m
Hello,
I opened a bug (http://bugzilla.redhat.com/show_bug.cgi?id=757138)
about this issue, but I was told to mention it to this list too.
Here is my problem : when I try to start a virtualbox domain with
virsh, an error occurs.
(But when the domain is started using Virtualbox GUI it works, and I
Add the core functions that implement the functionality of the API.
Suspend is done by using an asynchronous mechanism so that we can return
the status to the caller before the host gets suspended. This asynchronous
operation is achieved by suspending the host in a separate thread of
execution. How
On Thu, Nov 24, 2011 at 09:55:26PM +0800, Daniel Veillard wrote:
> On Thu, Nov 24, 2011 at 11:38:13AM +, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > While LXC does not have the concept of VCPUS, so we cann't do
>
> s/nn/n/
>
> > per-VCPU pCPU placement, we can support
On Thu, Nov 24, 2011 at 10:05:50PM +0800, Daniel Veillard wrote:
> On Thu, Nov 24, 2011 at 11:38:14AM +, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > * src/lxc/lxc_driver.c: Support changing quota/period for LXC
> > containers
> > * src/lxc/lxc_controller.c: Set initial
On Thu, Nov 24, 2011 at 11:38:13AM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> While LXC does not have the concept of VCPUS, so we cann't do
s/nn/n/
> per-VCPU pCPU placement, we can support the VM level CPU
> placement. Todo this simply set the CPU affinity of the LXC
>
This patchset adds a new API to put a host to a suspended state
(Suspend-to-RAM, Suspend-to-Disk or Hybrid-Suspend) and setup a timed resume
to get the host back online, from within libvirt.
This uses the RTC wakeup mechanism to set up a timer alarm before suspending
the host, so that in-band resum
When spawning an ssh connection, the environment variables
DISPLAY, SSH_ASKPASS, ... are passed. However XAUTHORITY,
which is neccessary if the .Xauthority is in a non default
place, was not passed.
Signed-off-by: Christian Franke
---
src/rpc/virnetsocket.c |1 +
1 files changed, 1 insertion
Add a new command 'nodesuspend' to perform a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat
---
tools/virsh.c | 64 +++
tools/virsh.pod |7 ++
2 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.
On Mon, Nov 28, 2011 at 05:33:22PM +0530, Srivatsa S. Bhat wrote:
> Add the core functions that implement the functionality of the API.
> Suspend is done by using an asynchronous mechanism so that we can return
> the status to the caller before the host gets suspended. This asynchronous
> operation
On Mon, Nov 28, 2011 at 01:15:25PM +0100, Christian Franke wrote:
> When spawning an ssh connection, the environment variables
> DISPLAY, SSH_ASKPASS, ... are passed. However XAUTHORITY,
> which is neccessary if the .Xauthority is in a non default
> place, was not passed.
>
> Signed-off-by: Christ
Implement the remote protocol for virNodeSuspendForDuration() API.
Signed-off-by: Srivatsa S. Bhat
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 10 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/remote/remote_driver.c b/src/remote/r
Implement the public definitions for the new API
virNodeSuspendForDuration() which will be subsequently used to
do a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat
---
include/libvirt/libvirt.h.in | 17 +++-
src/driver.h |6
src/libvirt.c
From: "Daniel P. Berrange"
* libvirt-gobject/libvirt-gobject.sym: Export gvir_stream_receive,
gvir_stream_send, gvir_stream_send_all
---
libvirt-gobject/libvirt-gobject.sym |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libvirt-gobject/libvirt-gobject.sym
b/libvirt
From: "Daniel P. Berrange"
The GIO GInputStream/GOutputStream async model for I/O does not
work for working with non-blocking bi-directional streams. To
allow that to be done more effectively, add an API to allow
main loop watches to be registered against streams.
Since the libvirt level virStre
From: "Daniel P. Berrange"
* HACKING: Add notes on coding style conventions
---
HACKING | 221 ++-
1 files changed, 220 insertions(+), 1 deletions(-)
diff --git a/HACKING b/HACKING
index fe52c17..ea419e5 100644
--- a/HACKING
+++ b/HAC
From: "Daniel P. Berrange"
Since virStreamEventAddCallback only allows a single callback
to be registered, GVirInputStream/GVirOutputStream should not
use that directly. Instead they should use the gvir_stream_add_watch
function
* libvirt-gobject/libvirt-gobject-input-stream.c,
libvirt-gobjec
From: "Daniel P. Berrange"
---
libvirt-gobject/libvirt-gobject-input-stream.c | 39 ++-
libvirt-gobject/libvirt-gobject-input-stream.h | 27 +
libvirt-gobject/libvirt-gobject-output-stream.c | 16
libvirt-gobject/libvirt-gobject-output-stream.h | 27
This patch series expands the streams APIs to allow practical use
of non-blocking bi-directional streams. It also formally documents
the required coding style conventions for libvirt-glib before we
get too much more code that is out of the ordinary.
--
libvir-list mailing list
libvir-list@redhat.c
On Mon, Nov 28, 2011 at 05:33:06PM +0530, Srivatsa S. Bhat wrote:
> Implement the public definitions for the new API
> virNodeSuspendForDuration() which will be subsequently used to
> do a timed suspend on the host.
>
> Signed-off-by: Srivatsa S. Bhat
> ---
>
> include/libvirt/libvirt.h.in |
On Mon, Nov 28, 2011 at 05:33:29PM +0530, Srivatsa S. Bhat wrote:
> Add a new command 'nodesuspend' to perform a timed suspend on the host.
>
> Signed-off-by: Srivatsa S. Bhat
> ---
>
> tools/virsh.c | 64
> +++
> tools/virsh.pod |7 +
On Fri, Nov 25, 2011 at 10:49:29AM +, Daniel P. Berrange wrote:
> On Fri, Nov 25, 2011 at 06:42:42PM +0800, Osier Yang wrote:
> > On 2011年11月25日 18:28, Daniel P. Berrange wrote:
> > >On Fri, Nov 25, 2011 at 04:55:02PM +0800, Osier Yang wrote:
> > >
> > >>
> > >>
> > >>AFAIU libvirt needs a way
virt-xml-validate fails when run on a domain XML file of type 'vbox'.
For failing test case, see https://bugzilla.redhat.com/show_bug.cgi?id=757097
This patch updates the XML schema so it accepts type 'vbox'.
---
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index
On 11/25/2011 07:50 AM, Michal Privoznik wrote:
When user pass wrong root element, it is not 'internal error' and
we can give him hint what we are expecting.
---
src/conf/domain_conf.c| 12
src/conf/interface_conf.c |6 --
src/conf/network_conf.c |
On 11/25/2011 07:28 AM, Michal Privoznik wrote:
This partly reverts my previous patch f88de3eb. We need to
get file status after open, as given path could have been symlink,
so fstat() will operate on different file than lstat().
Just a general note about stat/lstat/fstat - especially when work
On Wed, Nov 23, 2011 at 10:41:32AM -0700, Eric Blake wrote:
> Hmm - passing nparams==1 to set just read_bytes_sec has the side effect
> of wiping out any existing total_iops_sec, even though those two
> parameters seem somewhat orthogonal, all because we zero-initialized the
> struct that we pass
It was creating an extra node as a child of the "main" one
which is not what was intended
---
libvirt-gconfig/libvirt-gconfig-domain-clock.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-clock.c
b/libvirt-gconfig/libvirt-gconfig-
Now that we have gvir_config_object_set_attribute, we can use
the gvir_config_object_new{_from_xml} helpers.
---
.../libvirt-gconfig-domain-graphics-spice.c| 34 +---
1 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-g
Now that we have a refcounted GVirConfigXmlDoc type, make sure we use
it when creating objects deriving from GVirConfigObject.
---
libvirt-gconfig/libvirt-gconfig-object.c | 40 +-
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/libvirt-gconfig/libvir
This makes it possible to use the other GVirConfigObject helpers
with the new child, and hides libxml from one more place in our API.
---
libvirt-gconfig/libvirt-gconfig-domain-disk.c |9 +++-
.../libvirt-gconfig-domain-interface-network.c |7 ++-
libvirt-gconfig/libvirt-gconfig-d
This class derives from GObject and wraps an xmlDocPtr. It will be
useful to refcount xmlDoc so that it can be shared between multiple
GVirConfigObject instances.
---
libvirt-gconfig/Makefile.am |4 +-
libvirt-gconfig/libvirt-gconfig-xml-doc.c | 137 +
Since we want to use GVirConfigObject as a simple wrapper over
xmlNodePtr, we need to be able to create instances of this type for
"arbitrary" xml nodes.
---
libvirt-gconfig/libvirt-gconfig-object.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libvirt-gconfig/libvirt-g
This makes it possible to use the other GVirConfigObject helpers
with the new child, and hides libxml from one more place in our API.
---
libvirt-gconfig/libvirt-gconfig-domain-disk.c| 29 --
libvirt-gconfig/libvirt-gconfig-object-private.h |4 +-
libvirt-gconfig/libv
Now that we have gvir_config_object_set_attribute, we can use
the gvir_config_object_new{_from_xml} helpers.
---
.../libvirt-gconfig-domain-interface-network.c | 29 ---
1 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-in
---
libvirt-gconfig/libvirt-gconfig-domain-clock.c | 42 +--
libvirt-gconfig/libvirt-gconfig-domain-disk.c | 36 -
.../libvirt-gconfig-domain-graphics-spice.c| 12 ++
libvirt-gconfig/libvirt-gconfig-domain-input.c | 26
It will be used to refcount the xml data and make sure we only
free it when all references have went away.
---
libvirt-gconfig/libvirt-gconfig-object.c | 63 ++
1 files changed, 38 insertions(+), 25 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-object.c
This allows us to properly refcount the underlying xmlDocPtr (and
the associated xmlNodes) to avoid trying to free twice the same
xmlNodes when disposing of GVirConfigObject referencing the same
nodes.
---
libvirt-gconfig/libvirt-gconfig-domain.c | 31 ++---
1 files chang
---
libvirt-gconfig/libvirt-gconfig-object-private.h |4 +
libvirt-gconfig/libvirt-gconfig-object.c | 110 ++
libvirt-gconfig/libvirt-gconfig.sym |2 +
3 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig
It's needed to be able to keep track of references on the underlying
GVirConfigXmlDoc when building a bigger xml tree from smaller
separate xml nodes.
---
libvirt-gconfig/libvirt-gconfig-object-private.h |2 ++
libvirt-gconfig/libvirt-gconfig-object.c | 17 +
libvirt-
Before the introduction of GVirConfigXmlDoc, we couldn't
destroy the objects deriving from GVirConfigObject without
memory corruption. Now that we have GVirConfigXmlDoc, we can
make sure the memory we allocate for our various
GVirConfigObject instances are properly cleaned up.
---
libvirt-gconfig/
On 28.11.2011 16:06, Laine Stump wrote:
> On 11/25/2011 07:50 AM, Michal Privoznik wrote:
>> When user pass wrong root element, it is not 'internal error' and
>> we can give him hint what we are expecting.
>> ---
>> src/conf/domain_conf.c| 12
>> src/conf/interface_conf.c
On 28.11.2011 16:06, Laine Stump wrote:
> On 11/25/2011 07:50 AM, Michal Privoznik wrote:
>> When user pass wrong root element, it is not 'internal error' and
>> we can give him hint what we are expecting.
>> ---
>> src/conf/domain_conf.c| 12
>> src/conf/interface_conf.c
On 11/25/2011 05:50 AM, Michal Privoznik wrote:
> When user pass wrong root element, it is not 'internal error' and
> we can give him hint what we are expecting.
> ---
> src/conf/domain_conf.c| 12
> src/conf/interface_conf.c |6 --
> src/conf/network_conf.c
On 11/28/2011 05:26 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> When sVirt is integrated with the LXC driver, it will be neccessary
> to invoke the security driver APIs using only a virDomainDefPtr
> since the lxc_container.c code has no virDomainObjPtr available.
> Aside from
On Mon, Nov 28, 2011 at 01:13:48PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Since virStreamEventAddCallback only allows a single callback
> to be registered, GVirInputStream/GVirOutputStream should not
> use that directly. Instead they should use the gvir_stream_add_watc
s/xbox/vbox/ in the subject
On 11/28/2011 07:26 AM, Lorin Hochstein wrote:
> virt-xml-validate fails when run on a domain XML file of type 'vbox'.
>
> For failing test case, see https://bugzilla.redhat.com/show_bug.cgi?id=757097
>
> This patch updates the XML schema so it accepts type 'vbox'.
>
With fragments borrowed from David Steven's previous submission and some
further modifications:
A set of modifications to existing filters to handle multiple IP addresses
(and MAC addresses) per interface.
Also:
- enable DHCP traffic from VM to any DHCP server
- will require an update to a libvi
From: "Zeeshan Ali (Khattak)"
GLib >= 2.31 filters debug messages by default now[1] and provides ways
to output debug log from selected domains only. This patch won't be any
good without defining proper fine-grained log domains though.
http://blogs.gnome.org/mclasen/2011/11/09/better-logging/
--
On Mon, Nov 28, 2011 at 01:13:44PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> * HACKING: Add notes on coding style conventions
> ---
> HACKING | 221
> ++-
> 1 files changed, 220 insertions(+), 1 deletions(-)
>
On 11/28/2011 05:21 AM, Daniel P. Berrange wrote:
> On Mon, Nov 28, 2011 at 01:15:25PM +0100, Christian Franke wrote:
>> When spawning an ssh connection, the environment variables
>> DISPLAY, SSH_ASKPASS, ... are passed. However XAUTHORITY,
>> which is neccessary if the .Xauthority is in a non defa
If both nodes do not have any children, we pass zero to
virBitmapAlloc which returns NULL. In turn we report OOM error
and return false (meaning nodes are different). This is not true.
---
tools/virsh.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tool
Hi Daniel,
On 11/28/2011 05:50 PM, Daniel P. Berrange wrote:
> On Mon, Nov 28, 2011 at 05:33:22PM +0530, Srivatsa S. Bhat wrote:
>> Add the core functions that implement the functionality of the API.
>> Suspend is done by using an asynchronous mechanism so that we can return
>> the status to the
On 11/28/2011 11:46 AM, Michal Privoznik wrote:
If both nodes do not have any children, we pass zero to
virBitmapAlloc which returns NULL. In turn we report OOM error
and return false (meaning nodes are different). This is not true.
---
tools/virsh.c |3 +++
1 files changed, 3 insertions(+
On Nov 28, 2011, at 11:23 AM, Eric Blake wrote:
> s/xbox/vbox/ in the subject
>
Whoops... Hope I didn't disappoint anybody hoping for libvirt support on the
xbox.
> On 11/28/2011 07:26 AM, Lorin Hochstein wrote:
>> virt-xml-validate fails when run on a domain XML file of type 'vbox'.
>>
>>
These patches add two API functions to the libvirt python bindings, that
were missing.
The constants denoting a summary stat value instead of a separate per-node
values was declared using a preprocessor macro:
...
#define VIR_NODE_MEMORY_STATS_ALL_CELLS (-1)
#define VIR_NODE_CPU_STATS_ALL_CPUS (-1
On 28.11.2011 18:01, Stefan Berger wrote:
> On 11/28/2011 11:46 AM, Michal Privoznik wrote:
>> If both nodes do not have any children, we pass zero to
>> virBitmapAlloc which returns NULL. In turn we report OOM error
>> and return false (meaning nodes are different). This is not true.
>> ---
>> t
This patch adds binding for virNodeGetMemoryStats method of libvirtd.
Return value is represended as a python dictionary mapping fileld
names to values.
---
include/libvirt/libvirt.h.in|6 +++-
python/libvirt-override-api.xml |7 +
python/libvirt-override.c | 48 +++
When another thread was dispatching while we wanted to send a
non-blocking call, we correctly queued the call and woke up the thread
but the thread just threw the call away since it forgot to recheck if
its socket was writable.
---
src/rpc/virnetclient.c | 10 ++
1 files changed, 10 inse
This patch adds binding for virNodeGetCPUStats method of libvirtd.
Return value is represended as a python dictionary mapping fileld names
to values.
---
include/libvirt/libvirt.h.in|6 +++-
python/libvirt-override-api.xml |7 +
python/libvirt-override.c | 47 ++
Le 27/11/2011 17:31, Remi Collet a écrit :
> Fix is trivial :
> s/function_entry/zend_function_entry/
N.B. : zend_function_entry is also available in older php, so this patch
will not break build against php 5.3 or 5.2
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.c
On 11/28/2011 12:11 PM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange"
When sVirt is integrated with the LXC driver, it will be neccessary
to invoke the security driver APIs using only a virDomainDefPtr
since the lxc_container.c code has no virDomainObjPtr available.
Aside from two functio
From: "Zeeshan Ali (Khattak)"
---
libvirt-gobject/libvirt-gobject-connection.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/libvirt-gobject/libvirt-gobject-connection.c
b/libvirt-gobject/libvirt-gobject-connection.c
index a258847..02b54a1 100644
--- a/libvir
On 11/28/2011 05:50 PM, Daniel P. Berrange wrote:
> On Mon, Nov 28, 2011 at 05:33:22PM +0530, Srivatsa S. Bhat wrote:
>> Add the core functions that implement the functionality of the API.
>> Suspend is done by using an asynchronous mechanism so that we can return
>> the status to the caller befor
On Mon, Nov 28, 2011 at 01:13:45PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> The GIO GInputStream/GOutputStream async model for I/O does not
> work for working with non-blocking bi-directional streams. To
> allow that to be done more effectively, add an API to allow
> main
On Mon, Nov 28, 2011 at 06:23:14PM +0100, Jiri Denemark wrote:
> When another thread was dispatching while we wanted to send a
> non-blocking call, we correctly queued the call and woke up the thread
> but the thread just threw the call away since it forgot to recheck if
> its socket was writable.
ACK
On Mon, Nov 28, 2011 at 01:13:46PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> * libvirt-gobject/libvirt-gobject.sym: Export gvir_stream_receive,
> gvir_stream_send, gvir_stream_send_all
> ---
> libvirt-gobject/libvirt-gobject.sym |3 +++
> 1 files changed, 3 ins
On 11/28/2011 10:46 AM, Srivatsa S. Bhat wrote:
>>> +/* Check if the host supports the requested suspend state */
>>> +switch (state) {
>>> +case VIR_NODE_S3:
>>> +if (hostPMFeatures & VIR_NODE_S3) {
>>> +cmdString = strdup("pm-suspend");
>>> +if (cmdStr
ACK
On Mon, Nov 28, 2011 at 01:13:47PM +, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> ---
> libvirt-gobject/libvirt-gobject-input-stream.c | 39 ++-
> libvirt-gobject/libvirt-gobject-input-stream.h | 27 +
> libvirt-gobject/libvirt-gobject-ou
On Mon, Nov 28, 2011 at 10:56:33AM -0700, Eric Blake wrote:
> On 11/28/2011 10:46 AM, Srivatsa S. Bhat wrote:
>
> >>> +/* Check if the host supports the requested suspend state */
> >>> +switch (state) {
> >>> +case VIR_NODE_S3:
> >>> +if (hostPMFeatures & VIR_NODE_S3) {
> >>>
On 11/28/2011 11:26 PM, Eric Blake wrote:
> On 11/28/2011 10:46 AM, Srivatsa S. Bhat wrote:
>
+/* Check if the host supports the requested suspend state */
+switch (state) {
+case VIR_NODE_S3:
+if (hostPMFeatures & VIR_NODE_S3) {
+cmdString
On Mon, Nov 28, 2011 at 06:52:43PM +0100, Christophe Fergeau wrote:
> On Mon, Nov 28, 2011 at 01:13:45PM +, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > The GIO GInputStream/GOutputStream async model for I/O does not
> > work for working with non-blocking bi-directional st
Another preparatory patch for DHCP snooping where we want to be able to
differentiate between a VM start/interface attach and other operations
like VM resume and libvirtd restart so that upon VM start we can internally
discard all DHCP leases that may still be active for a VM's interface
identified
A preparatory patch for DHCP snooping where we want to be able to
differentiate between a VM's interface using the tuple of
. We assume that MAC addresses could
possibly be re-used between different networks (VLANs) thus do not only
want to rely on the MAC address to identify an interface.
At the
On Mon, Nov 28, 2011 at 05:24:56PM +0100, Christophe Fergeau wrote:
> On Mon, Nov 28, 2011 at 01:13:44PM +, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > * HACKING: Add notes on coding style conventions
> > ---
> > HACKING | 221
> > ++
On Mon, Nov 28, 2011 at 11:04 PM, Zeeshan Ali (Khattak)
wrote:
> From: "Zeeshan Ali (Khattak)"
>
> Based on a patch from Mateusz Kaplon .
Ouch, wrong tag and wrong list. Please ignore. :(
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
--
libvir-list mailing list
libvir-list@redhat.com
h
From: "Zeeshan Ali (Khattak)"
- More metadata on Debian, *SUSE, Ubuntu and Windows.
- Correct some metadata.
Based on a patch from Mateusz Kaplon .
---
data/oses/debian.xml | 142 ++
data/oses/opensuse.xml | 200 ++-
From: "Zeeshan Ali (Khattak)"
Based on a patch from Mateusz Kaplon .
---
data/oses/macos.xml | 94 +++
1 files changed, 94 insertions(+), 0 deletions(-)
create mode 100644 data/oses/macos.xml
diff --git a/data/oses/macos.xml b/data/oses/macos.x
On 07/25/2011 11:51 PM, Osier Yang wrote:
> This patch series introduce new API "virDomainBlockResize" to expose
> qemu monitor command "block_size", which is for resizing the a block
> device while the domain is running.
>
> The prototype for the new API is:
>
> int
> virDomainBlockResiz
On Mon, Nov 28, 2011 at 02:24:52PM -0700, Eric Blake wrote:
> On 07/25/2011 11:51 PM, Osier Yang wrote:
> > This patch series introduce new API "virDomainBlockResize" to expose
> > qemu monitor command "block_size", which is for resizing the a block
> > device while the domain is running.
> >
> >
This patchset adds a new API to put a host to a suspended state
(Suspend-to-RAM, Suspend-to-Disk or Hybrid-Suspend) and setup a timed resume
to get the host back online, from within libvirt.
This uses the RTC wakeup mechanism to set up a timer alarm before suspending
the host, so that in-band resum
On Mon, Nov 28, 2011 at 09:01:45AM -0500, Dave Allan wrote:
> On Fri, Nov 25, 2011 at 10:49:29AM +, Daniel P. Berrange wrote:
> > On Fri, Nov 25, 2011 at 06:42:42PM +0800, Osier Yang wrote:
> > > On 2011年11月25日 18:28, Daniel P. Berrange wrote:
> > > >On Fri, Nov 25, 2011 at 04:55:02PM +0800, Os
Implement the remote protocol for virNodeSuspendForDuration() API.
Signed-off-by: Srivatsa S. Bhat
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 10 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/remote/remote_driver.c b/src/remote/r
Implement the public definitions for the new API
virNodeSuspendForDuration() which will be subsequently used to
do a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat
---
include/libvirt/libvirt.h.in | 16 +++
src/driver.h |6
src/libvirt.c
Add the core functions that implement the functionality of the API.
Suspend is done by using an asynchronous mechanism so that we can return
the status to the caller before the host gets suspended. This asynchronous
operation is achieved by suspending the host in a separate thread of
execution. How
Add a new command 'nodesuspend' to perform a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat
---
tools/virsh.c | 64 +++
tools/virsh.pod |7 ++
2 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.
On Mon, Nov 28, 2011 at 09:41:12PM +, Daniel P. Berrange wrote:
> On Mon, Nov 28, 2011 at 09:01:45AM -0500, Dave Allan wrote:
> > On Fri, Nov 25, 2011 at 10:49:29AM +, Daniel P. Berrange wrote:
> > > On Fri, Nov 25, 2011 at 06:42:42PM +0800, Osier Yang wrote:
> > > > On 2011年11月25日 18:28, D
On 11/28/2011 11:24 PM, Adam Litke wrote:
On Wed, Nov 23, 2011 at 10:41:32AM -0700, Eric Blake wrote:
Hmm - passing nparams==1 to set just read_bytes_sec has the side effect
of wiping out any existing total_iops_sec, even though those two
parameters seem somewhat orthogonal, all because we zero
On Thu, Nov 24, 2011 at 02:22:41PM +0530, Srivatsa S. Bhat wrote:
> Some systems support a feature known as 'Hybrid-Suspend', apart from the
> usual system-wide sleep states such as Suspend-to-RAM (S3) or Suspend-to-Disk
> (S4). Add the functionality to discover this power management feature and
>
On 11/29/2011 12:37 PM, Daniel Veillard wrote:
> On Thu, Nov 24, 2011 at 02:22:41PM +0530, Srivatsa S. Bhat wrote:
>> Some systems support a feature known as 'Hybrid-Suspend', apart from the
>> usual system-wide sleep states such as Suspend-to-RAM (S3) or Suspend-to-Disk
>> (S4). Add the functiona
On Mon, Nov 28, 2011 at 17:53:36 +, Daniel P. Berrange wrote:
> On Mon, Nov 28, 2011 at 06:23:14PM +0100, Jiri Denemark wrote:
> > When another thread was dispatching while we wanted to send a
> > non-blocking call, we correctly queued the call and woke up the thread
> > but the thread just thr
91 matches
Mail list logo