Logically memory hotplug via guest agent, by enabling/disabling memory blocks.
The corresponding qga commands are: 'guest-get-memory-blocks',
'guest-set-memory-blocks' and 'guest-get-memory-block-info'.
detailed flow:
1 get memory block list, each member has 'phy-index', 'online' and
add the definition of qemuAgentMemblockInfo, according to the json format:
{ 'struct': 'GuestMemoryBlock',
'data': {'phys-index': 'uint64',
'online': 'bool',
'*can-offline': 'bool'} }
Signed-off-by: Zhang Bo oscar.zhan...@huawei.com
Signed-off-by: Li Bin
hotplug memory with guest agent. It
1 get memory block list, each member has 'phy-index', 'online' and
'can-offline' parameters
2 get memory block size, normally 128MB or 256MB for most OSes
3 convert the target memory size to memory block number, and see if there's
enough memory
blocks to be
qemuAgetSetMemblocks() is implemented, according to the qga command:
'guest-set-memory-blocks'.
It asks the guest agent to set memory blocks online/offline according to
the updated MemblockInfo. If all the blocks were setted successfully, the
function returns with success, otherwise, fails.
implement function qemuAgentGetMemblocks().
behaviour example:
input: '{execute:guest-get-memory-blocks}'
output:
{
return: [
{
can-offline: false,
online: true,
phys-index: 0
},
{
can-offline: false,
online:
function qemuAgentUpdateMemblocks() checks whether it needs to plug/unplug
memory blocks to reach the target memory. it's similar to
qemuAgentUpdateCPUInfo().
Signed-off-by: Zhang Bo oscar.zhan...@huawei.com
Signed-off-by: Li Bin binlibin...@huawei.com
---
src/qemu/qemu_agent.c | 69
just add the flag and description for function virDomainSetMemoryFlags().
Signed-off-by: Zhang Bo oscar.zhan...@huawei.com
Signed-off-by: Li Bin binlibin...@huawei.com
---
include/libvirt/libvirt-domain.h | 1 +
src/libvirt-domain.c | 4
src/qemu/qemu_driver.c | 3 ++-
qemuAgentGetMemblockGeneralInfo() is implememted, according to the qga command
'guest-get-memory-block-info'.
the difference between this command and 'guest-get-memory-blocks' is that the
latter one gets a list of infos for each memory block, and this command just
returns
general attributes for
support memory hotplug with the arg --guest in virsh command 'setmem'.
fix a little bug in qemu_driver.c at the meanwhile.
Signed-off-by: Zhang Bo oscar.zhan...@huawei.com
Signed-off-by: Li Bin binlibin...@huawei.com
---
src/libvirt-domain.c | 5 -
src/qemu/qemu_driver.c | 3 ++-
On Tue, Jun 09, 2015 at 05:33:24PM +0800, Zhang Bo wrote:
Logically memory hotplug via guest agent, by enabling/disabling memory blocks.
The corresponding qga commands are: 'guest-get-memory-blocks',
'guest-set-memory-blocks' and 'guest-get-memory-block-info'.
detailed flow:
1 get
---
src/qemu/qemu_hotplug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 94ebe35..3562de6 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -680,7 +680,7 @@
Configure hugepages and then start virtual guest via virsh start. However,
virtual guest failed to use hugepages although it's configured
The initial usage of system memory
[root@local ~]# free
totalusedfree shared buff/cache available
Mem: 263767352
On Tue, Jun 09, 2015 at 05:52:04AM +, Vivi L wrote:
Configure hugepages and then start virtual guest via virsh start. However,
virtual guest failed to use hugepages although it's configured
The initial usage of system memory
[root@local ~]# free
totalused
Hi,
I am a VDSM developer at Ovirt.
Recently, we opened Bug 1224954 - seabios does not recognize a direct attached
nic [1]
and discovered that in order to leverage the rom bar='on' file=FILE/
(as explained in [2]) in the hostdev element, one must compute the correct FILE
path by following
On Tue, Jun 09, 2015 at 10:40:59 +0200, Andrea Bolognani wrote:
---
src/qemu/qemu_hotplug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 94ebe35..3562de6 100644
--- a/src/qemu/qemu_hotplug.c
+++
Signed-off-by: John Ferlan jfer...@redhat.com
---
A libvirtd restart test found that my domain disappeared because there
was no 'expected_secret_usage' type - this this patch needs to be
reviewed as squashed into this patch.
src/conf/domain_conf.c | 4
1 file changed, 4 insertions(+)
diff
Hi,
I am a VDSM developer at Ovirt.
Recently, we opened Bug 1224954 - seabios does not recognize a direct attached
nic [1]
and discovered that in order to leverage the rom bar='on' file=FILE/
(as explained in [2]) in the hostdev element, one must compute the correct FILE
path by following
Hello,
Would you so kind to help me with my problem concerning libgfapi.
My host operating system is Ubuntu 14.04 LTS, version of glusterfs is
3.6.2, and version of qemu is 2.0.0. We use libfgapi library to connect to
glusterfs.
In our environment virtual machines sometimes go to power-off
On Tue, Jun 09, 2015 at 11:05:16 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 05:33:24PM +0800, Zhang Bo wrote:
Logically memory hotplug via guest agent, by enabling/disabling memory
blocks.
The corresponding qga commands are: 'guest-get-memory-blocks',
'guest-set-memory-blocks'
On Tue, Jun 09, 2015 at 01:22:49PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 11:05:16 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 05:33:24PM +0800, Zhang Bo wrote:
Logically memory hotplug via guest agent, by enabling/disabling memory
blocks.
The corresponding qga
Docs state that it should behave like eject. Currently the code does not
do that. This is a regression since f4b5f53027da4fed2250628e11bac4019.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1229592
---
tools/virsh-domain.c | 12 +---
1 file changed, 9 insertions(+), 3
On Tue, Jun 09, 2015 at 12:46:27 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 01:22:49PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 11:05:16 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 05:33:24PM +0800, Zhang Bo wrote:
Logically memory hotplug via guest agent,
On 06/09/2015 05:41 AM, Peter Krempa wrote:
Docs state that it should behave like eject. Currently the code does not
do that. This is a regression since f4b5f53027da4fed2250628e11bac4019.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1229592
---
tools/virsh-domain.c | 12
On Mon, Jun 08, 2015 at 02:41:05PM +0200, Michal Privoznik wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1224587
The function takes two important arguments (among many others): @node
and @page_size. From these two a path under /sys is constructed. The
path is then used to read and write
On 08.06.2015 20:56, Dmitry Guryanov wrote:
On 06/05/2015 05:17 PM, Nikolay Shirokovskiy wrote:
static int
parallelsDoCmdRun(char **outbuf, const char *binary, va_list list)
diff --git a/src/parallels/parallels_utils.h
b/src/parallels/parallels_utils.h
index 2d1d405..cdf6082 100644
Statistics provided through PCS SDK. As we have only async interface in SDK we
need to be subscribed to statistics in order to get it. Trivial solution on
every stat request to subscribe, wait event and then unsubscribe will lead to
significant delays in case of a number of successive requests, as
On Mon, Jun 8, 2015 at 7:09 PM, Michal Privoznik mpriv...@redhat.com wrote:
On 01.06.2015 10:06, Shivaprasad G Bhat wrote:
The following series implements...
---
Shivaprasad G Bhat (2):
fix domaincommon.rng to accept network name with quotes
escape quotes for dsmasq conf
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/3577/
--
Started by upstream project libvirt-build build number 4064
Started by upstream project libvirt-build build number 4065
Building on master in workspace
On 06/09/2015 05:13 PM, Dmitry Guryanov wrote:
This patch fixes several formatting errors, which I
missed before pushing previous patches. Mostly because
of missing cppi package.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/parallels/parallels_driver.c | 8
On 06/09/2015 06:49 AM, Ido Barkan wrote:
Hi,
I am a VDSM developer at Ovirt.
Recently, we opened Bug 1224954 - seabios does not recognize a direct
attached nic [1]
and discovered that in order to leverage the rom bar='on' file=FILE/
(as explained in [2]) in the hostdev element, one must
On Tue, Jun 02, 2015 at 14:34:08 +0200, Jiri Denemark wrote:
Because we are polling we may detect some errors after we asked QEMU for
migration status even though they occurred before. If this happens and
QEMU reports migration completed successfully, we would happily report
the migration
On Tue, Jun 02, 2015 at 14:34:07 +0200, Jiri Denemark wrote:
The wrapper is useful for calling qemuBlockJobEventProcess with the
event details stored in disk's privateData, which is the most likely
usage of qemuBlockJobEventProcess.
Signed-off-by: Jiri Denemark jdene...@redhat.com
---
On Tue, Jun 09, 2015 at 07:44:36PM +0530, Shivaprasad bhat wrote:
On Mon, Jun 8, 2015 at 7:09 PM, Michal Privoznik mpriv...@redhat.com wrote:
On 01.06.2015 10:06, Shivaprasad G Bhat wrote:
The following series implements...
---
Shivaprasad G Bhat (2):
fix domaincommon.rng to
On 06/09/2015 05:08 PM, Jenkins CI wrote:
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/3577/
Sorry, that's my mistake. Already fixed it.
--
Started by upstream project libvirt-build build number 4064
Started by upstream project
On 09/06/2015 14:45, John Ferlan wrote:
Your cover letter indicates you didn't find any bit of documentation,
but I'll point out that the formatdomain.html.in describes the disk
type='volume'.../ and how the source... are described in order to
use a disk type volume..
It's a misunderstanding,
Another ping.
2015-05-18 9:04 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
ping
2015-05-07 18:06 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
2015-05-07 17:21 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
* add constants from libvirt to snapshots api
* add flags to snapshot functions
On 06/09/2015 10:47 AM, Thibault VINCENT wrote:
On 09/06/2015 14:45, John Ferlan wrote:
Your cover letter indicates you didn't find any bit of documentation,
but I'll point out that the formatdomain.html.in describes the disk
type='volume'.../ and how the source... are described in order to
On 06/01/2015 04:07 AM, Shivaprasad G Bhat wrote:
The network name is currently of type deviceName but it should be text as
name is defined in the network.rng.
Signed-off-by: Shivaprasad G Bhat sb...@linux.vnet.ibm.com
---
docs/schemas/domaincommon.rng |2 +-
1 file changed, 1
Or this patch have problems?
2015-05-07 17:21 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
* add constants from libvirt to snapshots api
* add flags to snapshot functions
Signed-off-by: Vasiliy Tolstov v.tols...@selfip.ru
---
src/libvirt-php.c | 87
This patch fixes several formatting errors, which I
missed before pushing previous patches. Mostly because
of missing cppi package.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/parallels/parallels_driver.c | 8
src/parallels/parallels_sdk.c| 4 ++--
On Tue, Jun 02, 2015 at 14:34:07 +0200, Jiri Denemark wrote:
The wrapper is useful for calling qemuBlockJobEventProcess with the
event details stored in disk's privateData, which is the most likely
usage of qemuBlockJobEventProcess.
Signed-off-by: Jiri Denemark jdene...@redhat.com
---
On Tue, Jun 02, 2015 at 14:34:06 +0200, Jiri Denemark wrote:
Complex jobs, such as migration, need to monitor several events at once,
which is impossible when each of the event uses its own condition
variable. This patch adds a single condition variable to each domain
object. This variable can
On 06/08/2015 07:00 PM, John Ferlan wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1200206
Commit id '1b4eaa61' added the ability to have a mode='direct' for
an iscsi disk volume. It relied on virStorageTranslateDiskSourcePool
in order to copy any disk source pool authentication
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/3578/
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
https://bugzilla.redhat.com/show_bug.cgi?id=1200206
Commit id '1b4eaa61' added the ability to have a mode='direct' for
an iscsi disk volume. It relied on virStorageTranslateDiskSourcePool
in order to copy any disk source pool authentication information to
the direct disk volume, but it neglected
On 06/04/2015 12:10 AM, Maxim Nestratov wrote:
v1-v2 change:
* Single patch was split into smaller pieces
* Corrected conflict of / mount point in case both filesystem
and block device disks are being added.
It is possible to attach volumes to containers but since they are
added they
On Tue, Jun 02, 2015 at 14:34:09 +0200, Jiri Denemark wrote:
By switching block jobs to use domain conditions, we can drop some
pretty complicated code in NBD storage migration. Moreover, we are
getting ready for migration events (to replace our 50ms polling on
query-migrate). The ultimate
ping for patches...
2015-05-07 17:21 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
* add constants from libvirt to snapshots api
* add flags to snapshot functions
Signed-off-by: Vasiliy Tolstov v.tols...@selfip.ru
---
src/libvirt-php.c | 87
On Tue, Jun 09, 2015 at 16:56:34 +0200, Peter Krempa wrote:
On Tue, Jun 02, 2015 at 14:34:07 +0200, Jiri Denemark wrote:
The wrapper is useful for calling qemuBlockJobEventProcess with the
event details stored in disk's privateData, which is the most likely
usage of
On 06/01/2015 04:06 AM, Shivaprasad G Bhat wrote:
The following series implements...
---
Shivaprasad G Bhat (2):
fix domaincommon.rng to accept network name with quotes
escape quotes for dsmasq conf contents
I just pushed both of these patches. Thanks!
--
libvir-list mailing
https://bugzilla.redhat.com/show_bug.cgi?id=1021480
Seems the property has been deprecated for qemu, although seemingly ignored.
This patch enforces from a libvirt perspective that a scsi-block 'lun'
device should not provide the 'serial' property.
Signed-off-by: John Ferlan jfer...@redhat.com
Kashyap Chamarthy kchamart at redhat.com writes:
You might want re-test by explicitly setting the 'page' element and
'size' attribute? From my test, I had something like this:
$ virsh dumpxml f21-vm | grep hugepages -B3 -A2
memory unit='KiB'2000896/memory
currentMemory
https://bugzilla.redhat.com/show_bug.cgi?id=1225694
Check if the disk partition to be wiped is the extended partition, if
so then disallow it. Do this via changing the wipeVol backend to check
the volume before passing to the common virStorageBackendVolWipeLocal
Signed-off-by: John Ferlan
Signed-off-by: John Ferlan jfer...@redhat.com
---
Pushing under the trivial rule
src/storage/storage_backend_logical.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/storage/storage_backend_logical.c
b/src/storage/storage_backend_logical.c
index 9c77b4c..070f2bd
On Tue, Jun 09, 2015 at 06:01:12 -0600, Eric Blake wrote:
On 06/09/2015 05:41 AM, Peter Krempa wrote:
Docs state that it should behave like eject. Currently the code does not
do that. This is a regression since f4b5f53027da4fed2250628e11bac4019.
Resolves:
On 09/06/2015 01:12, Thibault VINCENT wrote:
Any idea about this one?
Not sure if it's bad or getting lost in backlog, and I'd like to see
it in next release.
Actually I'm going to submit a new version, please don't merge.
Latest patch from John Ferlan about secrettype for iSCSI revealed the
On 06/02/2015 09:56 AM, Thibault VINCENT wrote:
Domains can now reference disks of type 'volume' with an underlying RBD pool.
It won't allow mapping snapshots, pools don't list them yet, only COW clones.
- virStorageTranslateDiskSourcePool: add case to copy RBD attributes
-
On Tue, Jun 09, 2015 at 02:03:13PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 12:46:27 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 01:22:49PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 11:05:16 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 05:33:24PM
On Tue, Jun 09, 2015 at 13:05:35 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 02:03:13PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 12:46:27 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 01:22:49PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 11:05:16
On Tue, Jun 09, 2015 at 02:12:39PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 13:05:35 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 02:03:13PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 12:46:27 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 01:22:49PM
On 2015/6/9 20:47, Daniel P. Berrange wrote:
On Tue, Jun 09, 2015 at 02:12:39PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 13:05:35 +0100, Daniel Berrange wrote:
On Tue, Jun 09, 2015 at 02:03:13PM +0200, Peter Krempa wrote:
On Tue, Jun 09, 2015 at 12:46:27 +0100, Daniel Berrange
2015-06-10 5:28 GMT+03:00 zhang bo oscar.zhan...@huawei.com:
Thank you for your reply.
Before this patch, we needed to manually online memory blocks inside the
guest, after dimm memory hotplug
for most *nix OSes. (Windows guests automatically get their memory blocks
online after
On 06/09/2015 10:35 AM, Nikolay Shirokovskiy wrote:
Statistics provided through PCS SDK. As we have only async interface in SDK we
need to be subscribed to statistics in order to get it. Trivial solution on
every stat request to subscribe, wait event and then unsubscribe will lead to
significant
63 matches
Mail list logo