On Tue, Nov 17, 2015 at 10:51:55AM +, Daniel P. Berrange wrote:
> On Tue, Nov 17, 2015 at 08:43:54AM +0100, Guido Günther wrote:
> > Since we can't know at service start how many VMs will be running we
> > can't calculate an apropriate shutdown timeout. So instead of killing
> > off the service
On Tue, Nov 17, 2015 at 10:02:36PM +0100, Richard Weinberger wrote:
On Wed, Jun 24, 2015 at 11:19 AM, Martin Kletzander wrote:
On Tue, Jun 23, 2015 at 01:48:42PM +0200, Richard Weinberger wrote:
The LXC driver uses virSetUIDGID() to become UID/GID 0.
It passes an empty groups list to virSetUI
On 11/17/2015 08:14 PM, Cole Robinson wrote:
> On 11/17/2015 07:44 PM, Stefan Berger wrote:
>> This patch addresses BZ 1244895.
>>
>> Adapt the sysfs TPM command cancel path for the TPM driver that
>> does not use a miscdevice anymore since Linux 4.0. Support old
>> and new paths and check their av
On 11/17/2015 07:44 PM, Stefan Berger wrote:
> This patch addresses BZ 1244895.
>
> Adapt the sysfs TPM command cancel path for the TPM driver that
> does not use a miscdevice anymore since Linux 4.0. Support old
> and new paths and check their availability.
>
> Add a mockup for the test cases to
This patch addresses BZ 1244895.
Adapt the sysfs TPM command cancel path for the TPM driver that
does not use a miscdevice anymore since Linux 4.0. Support old
and new paths and check their availability.
Add a mockup for the test cases to avoid the testing for
availability of the cancel path.
Si
Joao Martins wrote:
>
> On 11/17/2015 02:48 AM, Jim Fehlig wrote:
>> On 11/13/2015 06:14 AM, Joao Martins wrote:
>>> Introduce support for domainInterfaceStats API call for querying
>>> network interface statistics. Consequently it also enables the
>>> use of `virsh domifstat ` command.
>>>
>>> A
Joao Martins wrote:
> Introduce support for domainMemoryStats API call, which
> consequently enables the use of `virsh dommemstat` command to
> query for memory statistics of a domain. We support
> the following statistics: balloon info, available and currently
> in use. swap-in, swap-out, major-fa
2015-11-18 1:10 GMT+03:00 Vasiliy Tolstov :
> Some storage backends allows to specify per volume redundancy options.
> Sheepdog use x format for specify copies, and x:y format to specify
> data and parity block count.
Third version of the patch compiled fine.
--
Vasiliy Tolstov,
e-mail: v.tols.
Some storage backends allows to specify per volume redundancy options.
Sheepdog use x format for specify copies, and x:y format to specify
data and parity block count.
Signed-off-by: Alexey Tyabin
Signed-off-by: Vasiliy Tolstov
---
docs/schemas/storagevol.rng| 3 ++
src/conf/st
Cole Robinson wrote on 11/17/2015 04:37:56 PM:
> From: Cole Robinson
> To: Stefan Berger/Watson/IBM@IBMUS, libvir-list@redhat.com,
> berra...@redhat.com
> Cc: Stefan Berger
> Date: 11/17/2015 04:38 PM
> Subject: Re: [PATCH v2] tpm: adapt sysfs cancel path for new TPM driver
>
> On 11/17/2015
On 11/17/2015 10:46 AM, Stefan Berger wrote:
> Adapt the sysfs TPM command cancel path for the TPM driver that
> does not use a miscdevice anymore since Linux 4.0. Support old
> and new paths and check their availability.
>
> Add a mockup for the test cases to avoid the testing for
> availability
On 11/17/2015 04:26 PM, Stefan Berger wrote:
> Cole Robinson wrote on 11/17/2015 03:55:13 PM:
>
>> From: Cole Robinson
>> To: Stefan Berger , Stefan Berger/
>> Watson/IBM@IBMUS, libvir-list@redhat.com, berra...@redhat.com
>> Date: 11/17/2015 03:55 PM
>> Subject: Re: [PATCH v2] tpm: adapt sysfs c
Cole Robinson wrote on 11/17/2015 03:55:13 PM:
> From: Cole Robinson
> To: Stefan Berger , Stefan Berger/
> Watson/IBM@IBMUS, libvir-list@redhat.com, berra...@redhat.com
> Date: 11/17/2015 03:55 PM
> Subject: Re: [PATCH v2] tpm: adapt sysfs cancel path for new TPM driver
>
> On 11/17/2015 03:49
On Fri, Jul 3, 2015 at 1:55 PM, Martin Kletzander wrote:
> On Tue, Jun 23, 2015 at 04:38:57PM +0200, Richard Weinberger wrote:
>>
>> Instead of creating symlinks, bind mount the devices to
>> /dev/pts/XY.
>> Using bind mounts it is no longer needed to add pts devices
>> to files like /dev/securett
On Tue, Jun 23, 2015 at 3:18 PM, Richard Weinberger wrote:
> Userspace does not expect that the initial console
> is a controlling TTY. systemd can deal with that, others not.
> On sysv init distros getty will fail to spawn a controlling on
> /dev/console or /dev/tty1. Which will cause to whole co
On Wed, Jun 24, 2015 at 11:19 AM, Martin Kletzander wrote:
> On Tue, Jun 23, 2015 at 01:48:42PM +0200, Richard Weinberger wrote:
>>
>> The LXC driver uses virSetUIDGID() to become UID/GID 0.
>> It passes an empty groups list to virSetUIDGID()
>> to get rid of all supplementary groups from the host
On 11/17/2015 03:49 PM, Stefan Berger wrote:
> On 11/17/2015 02:12 PM, Cole Robinson wrote:
>> First, thanks for following up on the fedora bugs so quickly!
>>
>> On 11/17/2015 10:46 AM, Stefan Berger wrote:
>>> Adapt the sysfs TPM command cancel path for the TPM driver that
>>> does not use a misc
On 11/17/2015 02:12 PM, Cole Robinson wrote:
First, thanks for following up on the fedora bugs so quickly!
On 11/17/2015 10:46 AM, Stefan Berger wrote:
Adapt the sysfs TPM command cancel path for the TPM driver that
does not use a miscdevice anymore since Linux 4.0. Support old
and new paths an
First, thanks for following up on the fedora bugs so quickly!
On 11/17/2015 10:46 AM, Stefan Berger wrote:
> Adapt the sysfs TPM command cancel path for the TPM driver that
> does not use a miscdevice anymore since Linux 4.0. Support old
> and new paths and check their availability.
>
> Add a moc
Quoting Guido Günther (a...@sigxcpu.org):
> On Mon, Nov 16, 2015 at 05:59:08PM +, Serge Hallyn wrote:
> >
> > As suggested by Jamie Strandboge in
> >
> > https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1483071
> >
> > Signed-off-by: Serge Hallyn
> > ---
> > src/security/virt-aa-help
https://bugzilla.redhat.com/show_bug.cgi?id=1282288
Rather than using just open on the path, allow for the possibility that
the path to be opened resides on an NFS root-squash target and was created
under a different uid/gid.
Without using virFileOpenAs an attempt to get the volume size data may
https://bugzilla.redhat.com/show_bug.cgi?id=1282288
Although commit id '77346f27' resolves part of the problem regarding creating
a qemu-img image in an NFS root-squash environment, it really didn't fix the
entire problem. Unfortunately it only masked the problem. It seems qemu-img
must open/creat
Fix a couple of more issues with an NFS root-squash environment. The
details are in the commit messages and bugzilla comments.
NB: While using virFileOpenAs in the virStorageBackendVolOpen path and
checking for EACESS/EPERM afterwards may seem a bit counter intuitive,
but those will be returned if
Adapt the sysfs TPM command cancel path for the TPM driver that
does not use a miscdevice anymore since Linux 4.0. Support old
and new paths and check their availability.
Add a mockup for the test cases to avoid the testing for
availability of the cancel path.
Signed-off-by: Stefan Berger
---
s
On Tue, Nov 17, 2015 at 10:24:51AM -0500, Stefan Berger wrote:
> On 11/17/2015 09:24 AM, Daniel P. Berrange wrote:
> >On Tue, Nov 17, 2015 at 09:18:29AM -0500, Stefan Berger wrote:
> >>
> >>To get that path right we need to test it's availability by opening it.
> >>Unfortunately there's problem wi
On 11/17/2015 09:24 AM, Daniel P. Berrange wrote:
On Tue, Nov 17, 2015 at 09:18:29AM -0500, Stefan Berger wrote:
To get that path right we need to test it's availability by opening it.
Unfortunately there's problem with that now related to the test case below
where, if the test is run as non-r
On Fri, Nov 13, 2015 at 05:07:13PM -0200, Eduardo Habkost wrote:
> KVM can't virtualize rdtscp on AMD CPUs yet, so there's no point
> in enabling it by default on AMD CPU models, as all we are
> getting are confused users because of the "host doesn't support
> requested feature" warnings.
>
> Disa
On Tue, Nov 17, 2015 at 09:18:29AM -0500, Stefan Berger wrote:
> On 11/16/2015 10:12 PM, Stefan Berger wrote:
> >Adapt the sysfs TPM command cancel path for the TPM driver that
> >does not use a miscdevice anymore since Linux 4.0. Support old
> >and new paths.
> >
> >Signed-off-by: Stefan Berger
>
On Tue, Nov 17, 2015 at 03:14:50PM +0100, Cédric Bosdonnat wrote:
> Add a configure option to disable virt-login-shell build even if lxc is
> enabled.
> ---
> configure.ac | 14 ++
> tools/Makefile.am | 12 ++--
> 2 files changed, 20 insertions(+), 6 deletions(-)
ACK
>
On 11/16/2015 10:12 PM, Stefan Berger wrote:
Adapt the sysfs TPM command cancel path for the TPM driver that
does not use a miscdevice anymore since Linux 4.0. Support old
and new paths.
Signed-off-by: Stefan Berger
---
src/util/virtpm.c | 21
There is no need to deny writes on a readonly mount: write still
won't be accepted, even if the user remounts the folder as RW in
the guest as qemu sets the 9p mount as ro.
This deny rule was leading to problems for example with readonly /:
The qemu process had to write to a bunch of files in / li
Hi all,
Here are a few patches without strong connection together. The first one
only allows us not to package virt-login-shell even with lxc driver
enabled. The other ones are related to mounts security.
I'm wondering if changing the default dropped capabilities in the lxc
driver is acceptable..
Add a configure option to disable virt-login-shell build even if lxc is
enabled.
---
configure.ac | 14 ++
tools/Makefile.am | 12 ++--
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index f481c50..c766351 100644
--- a/configure
Some storage backends allows to specify per volume redundancy options.
Sheepdog use x format for specify copies, and x:y format to specify
data and parity block count.
Signed-off-by: Alexey Tyabin
Signed-off-by: Vasiliy Tolstov
---
docs/schemas/storagevol.rng| 3 ++
src/conf/st
On 11/17/2015 02:48 AM, Jim Fehlig wrote:
> On 11/13/2015 06:14 AM, Joao Martins wrote:
>> Introduce support for domainInterfaceStats API call for querying
>> network interface statistics. Consequently it also enables the
>> use of `virsh domifstat ` command.
>>
>> After succesful guest creation
On 11/17/2015 02:59 AM, Jim Fehlig wrote:
> On 11/13/2015 06:14 AM, Joao Martins wrote:
>> Introduce support for domainGetCPUStats API call and consequently
>> allow us to use `virsh cpu-stats`. The latter returns a more brief
>> output than the one provided by`virsh vcpuinfo`.
>>
>> Signed-off-b
On Tue, Nov 17, 2015 at 08:43:54AM +0100, Guido Günther wrote:
> Since we can't know at service start how many VMs will be running we
> can't calculate an apropriate shutdown timeout. So instead of killing
> off the service just let it use it's own internal timeout mechanism.
>
> References:
>
On Tue, Nov 17, 2015 at 04:00:40PM +0800, Qiaowei Ren wrote:
> The series mainly adds Intel CMT feature support into libvirt. CMT is
> new introduced PQos (Platform Qos) feature to monitor the usage of
> cache by applications running on the platform.
>
> Currently CMT patches has been merged into
Signed-off-by: Vasiliy Tolstov
---
docs/schemas/storagevol.rng| 3 ++
src/conf/storage_conf.c| 2 +
src/storage/storage_backend_sheepdog.c | 38 +
src/util/virstoragefile.c | 4 +-
src/util/virstoragefile.h
Daniel P. Berrange wrote:
> On Wed, Nov 04, 2015 at 06:08:00PM +0300, Roman Bogorodskiy wrote:
> > Current monitor code overrides domain object's privateData, e.g.
> > in virBhyveProcessStart():
> >
> > vm->privateData = bhyveMonitorOpen(vm, driver);
> >
> > where bhyveMonitorPtr() returns b
This patch implement the internal driver API for perf event into
qemu driver.
In addition, this patch extend virDomainListGetStats API to get
the statistics for perf event. To do so, we add a
'VIR_DOMAIN_STATS_PERF' enum to causes reporting of all previously
enabled perf events.
Signed-off-by: Qi
* src/driver-hypervisor.h (virDrvDomainGetPerfEvents,
virDrvDomainSetPerfEvents): New typedefs.
Signed-off-by: Qiaowei Ren
---
src/driver-hypervisor.h | 12
1 file changed, 12 insertions(+)
diff --git a/src/driver-hypervisor.h b/src/driver-hypervisor.h
index ae2ec4d..2b72e23 100644
This patch extend domstats command to match extended
virDomainListGetStats API in previous patch.
Signed-off-by: Qiaowei Ren
---
tools/virsh-domain-monitor.c | 7 +++
tools/virsh.pod | 7 +--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/tools/virsh-domain-
Add remote support for perf event.
Signed-off-by: Qiaowei Ren
---
daemon/remote.c | 60
src/remote/remote_driver.c | 49
src/remote/remote_protocol.x | 32 ++-
src/remote_protocol
This patch add new perf command to enable/disable perf event
for a guest domain.
For example:
$ virsh perf domain --cmt 1 // enable CMT perf event for domain
$ virsh perf domain --cmt 0 // disable CMT perf event for domain
$ virsh perf domain // list the state (enabled or disabled) of all
sup
* src/libvirt-domain.c: Implement virDomainGetPerfEvents and
virDomainSetPerfEvents.
Signed-off-by: Qiaowei Ren
---
src/libvirt-domain.c | 106 +++
1 file changed, 106 insertions(+)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index de
This patch implement a set of interfaces for perf event. Based on
these interfaces, we can implement internal driver API for perf,
and get the results of perf conuter you care about.
Signed-off-by: Qiaowei Ren
---
include/libvirt/virterror.h | 2 +
src/Makefile.am | 1 +
src/libv
API agreed on in
https://www.redhat.com/archives/libvir-list/2015-October/msg00872.html
* include/libvirt/libvirt-domain.h (virDomainGetPerfEvents,
virDomainSetPerfEvents): New declarations.
* src/libvirt_public.syms: Export new symbols.
Signed-off-by: Qiaowei Ren
---
include/libvirt/libvirt-do
The series mainly adds Intel CMT feature support into libvirt. CMT is
new introduced PQos (Platform Qos) feature to monitor the usage of
cache by applications running on the platform.
Currently CMT patches has been merged into Linux kernel mainline.
The CMT implementation in Linux kernel is based
49 matches
Mail list logo