This patch adds some utils struct and functions to expose resctrl
information.
virResCtrlAvailable: If resctrl interface exist on host
virResCtrlGet: get specify type resource contral information
virResCtrlInit: initialize resctrl struct from the host's sys fs.
resctrlall[]: an array to maintain r
Enable l3code/l3data while doing cache tune.
l3code/l3data should use a continus cbm in their seperated schemata and
the cache size are shared between them, so we need to deal them
differently with l3 cache.
This should enable cdp feature while mounting /sys/fs/resctrl, eg:
mount -t resctrl resct
Set cache banks while booting a new domain.
Signed-off-by: Eli Qiao
---
src/qemu/qemu_driver.c | 6 --
src/qemu/qemu_process.c | 53 +
2 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driv
Addressed comment from v4 -> v5:
Marcelo:
* Several typos
* Use flock instead of virFileLock
Addressed comment from v3 -> v4:
Daniel & Marcelo:
* Added concurrence support
Addressed comment from v2 -> v3:
Daniel:
* Fixed coding style, passed `make check` and `make sy
The internal struct list domainall is a list which are resctral domain
status shared by all VMs, especiall the default domain, each VM should
access it concomitantly. Ues a mutex to control it.
Each bank's cache_left field is also a global shared resource we need
to be care, add a mutex for each b
l3data and l3code type of cache banks should be configured pairs.
Signed-off-by: Eli Qiao
---
src/conf/domain_conf.c | 19 +++
src/util/virresctrl.c | 1 -
src/util/virresctrl.h | 2 ++
3 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/sr
This patch expose cache information to host's capabilites xml.
For l3 cache allocation
For l3 cache allocation supported cdp(seperate data/code):
RFC on mailing list.
https://www.redhat.com/archives/libvir-list/2017-January/msg00644.html
This patch support l3 cache allocation compatible mode if cdp enabled
on host.
In this case l3code/l3data has same schemata.
Signed-off-by: Eli Qiao
---
src/conf/domain_conf.c | 15 +--
src/util/virresctrl.c | 10 ++
2 files changed, 23 insertions(+), 2 deletions(-)
diff -
virResCtrlSetCacheBanks: Set cache banks of a libvirt domain. It will
create new resource domain under `/sys/fs/resctrl` and fill the
schemata according the cache banks configration.
virResCtrlUpdate: Update the schemata after libvirt domain destroy.
Signed-off-by: Eli Qiao
---
src/libvirt_priv
This patch adds new xml element to support cache tune as:
...
...
id: any non-minus number
host_id: reference of the host's cache banks id, it's from capabilities
type: cache bank type
size: should be multiples of the min_size of the bank on host.
vcpus: cache allocation on vcpu set, if
--
Eli Qiao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, 10 February 2017 at 10:19 PM, Marcelo Tosatti wrote:
> On Fri, Feb 10, 2017 at 02:42:04PM +0800, Eli Qiao wrote:
> > Addressed comment from v3 -> v4:
> >
> > Daniel & Marcelo:
> > * Added concurrence support
> >
On Fri, Feb 10, 2017 at 3:22 AM, John Ferlan wrote:
>
>
> On 01/27/2017 06:01 AM, Nitesh Konkar wrote:
> > This patch adds support and documentation
> > for the page_faults_maj perf event.
> >
> > Signed-off-by: Nitesh Konkar
> > ---
> > docs/formatdomain.html.in | 7 +++
Hi Jim,
Thank you for replying. I am planning to participate in GSoC'17 and
this is my first patch towards it. This is from Byte sized task which
I picked up and trying to solve it. Yes you are right, pattern is used
throughout the libxl driver and many others but this is just a
rudimentary patch
On 02/11/2017 01:31 AM, Sagar Ghuge wrote:
Add function which raises error if domain is
not active
Signed-off-by: Sagar Ghuge
---
src/conf/domain_conf.c | 13 +
src/conf/domain_conf.h | 1 +
src/libxl/libxl_driver.c | 4 +---
3 files changed, 15 insertions(+), 3 deletions(-)
At 2017-02-07 16:31:20, "Chen Hanxiao" wrote:
>From: Chen Hanxiao
>
>This patch introduces QEMU_CAPS_SD_CARD for probing
>whether qemu support SD card by:
>
>{"execute": "device-list-properties",
>"arguments":{"typename":"sd-card"}}
>
>It will be helpful for apps which used
>cmd 'virsh domc
Hi All,
Matt encountered the following issue when using 1GB huge pages with libvirt
This problem turned out to be entirely my fault because I didn't round
the VM's memory size to a 1G multiple, and the kernel tried to split
the VMA at the end of the region, triggering this code in the kernel
do
Roman Bogorodskiy wrote:
> * Add bhyve e1000 support entry to release nodes
^
Oops, should be 'notes'.
> * Update the bhyve driver page with usage sample
> ---
> docs/drvbhyve.html.in | 15 +++
> docs/news.xml | 9 +++
* Add bhyve e1000 support entry to release nodes
* Update the bhyve driver page with usage sample
---
docs/drvbhyve.html.in | 15 +++
docs/news.xml | 9 +
2 files changed, 24 insertions(+)
diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in
index 9b7872ba0..d
From: Fabian Freyer
Signed-off-by: Roman Bogorodskiy
---
src/bhyve/bhyve_capabilities.c | 28
1 file changed, 28 insertions(+)
diff --git a/src/bhyve/bhyve_capabilities.c b/src/bhyve/bhyve_capabilities.c
index 13b4835a8..9dec66b11 100644
--- a/src/bhyve/bhyve_capab
From: Fabian Freyer
Signed-off-by: Roman Bogorodskiy
---
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.args | 11 +++
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.ldargs | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.xml| 23 +++
tests/bhyvexml2argvtest.c
Signed-off-by: Roman Bogorodskiy
---
tests/bhyvexml2argvdata/bhyvexml2argv-vnc.args | 12 +++
tests/bhyvexml2argvdata/bhyvexml2argv-vnc.ldargs | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-vnc.xml| 26
tests/bhyvexml2argvtest.c| 7 ++
From: Fabian Freyer
bhyve supports 'gop' video device that allows clients to connect
to VMs using VNC clients. This commit adds support for that to
the bhyve driver:
- Introducr 'gop' video device type
- Add capabilities probing for the 'fbuf' device that's
responsible for graphics
- Updat
Fabian Freyer (5):
bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM
bhyve: add support for booting from UEFI
bhyve: test cases for UEFI bhyvexml2argvtest
bhyve: enumerate UEFI firmwares
bhyve: add video support
Roman Bogorodskiy (1):
bhyve: test cases for VNC
docs/formatdomain.html.in
From: Fabian Freyer
Allow to boot using UEFI rather than using an external boot loader
such as bhyveload or grub-bhyve.
Also, make LPC PCI-ISA bridge handling more flexible as now it's
needed not only for serial ports, but for bootrom as well.
Signed-off-by: Roman Bogorodskiy
---
src/bhyve/bh
From: Fabian Freyer
Implement the BHACE_CAP_LPC_BOOTROM capability by checking the stderr
output of 'bhyve -l bootrom'. If the bootrom option is unsupported, this
will contain the following output:
bhyve: invalid lpc device configuration 'bootrom'
On newer bhyve versions that do support spe
25 matches
Mail list logo