From: Jinsheng Zhang
Add vmuuid notes on virNetDevOpenvswitchInterfaceSetQos,
and change vmid to vmuuid.
Signed-off-by: Jinsheng Zhang
---
src/util/virnetdevopenvswitch.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/util/virnetdevopenvswitch.c
From: Jinsheng Zhang
Signed-off-by: zhangjl02
s
Signed-off-by: zhangjl02
s
Signed-off-by: zhangjl02
---
src/util/virnetdevopenvswitch.c | 60 ++---
1 file changed, 26 insertions(+), 34 deletions(-)
diff --git a/src/util/virnetdevopenvswitch.c
From: Jinsheng Zhang
Warn these error instead of return when removing qos or queues. This will
avoid residual qos clearance on multiple interfaces.
Signed-off-by: zhangjl02
---
src/util/virnetdevopenvswitch.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git
From: Jinsheng Zhang
Separate virNetDevOpenvswitchInterfaceClearQos into two steps. When setting
qos, we can set only rx or tx and the other one should be cleared.
Signed-off-by: zhangjl02
---
src/libvirt_private.syms| 2 ++
src/util/virnetdevopenvswitch.c | 50
From: Jinsheng Zhang
Test virNetDevOpenvswitchInterfaceSetQos and
virNetDevOpenvswitchInterfaceClearQos with dryrun method.
Signed-off-by: zhangjl02
---
tests/virnetdevopenvswitchtest.c | 196 ++-
1 file changed, 195 insertions(+), 1 deletion(-)
diff --git
---
diff to v1:
- Modify commit message to no longer then 80 characters.
- Split patch into several commits
- Add notes on some function and defination
- Extract common code block to a single function
Thanks to Pavel Hrdina for helping to review these patches.
Two problems are found
From: Jinsheng Zhang
Signed-off-by: zhangjl02
---
src/util/virnetdevopenvswitch.c | 12 +++-
src/util/virnetdevopenvswitch.h | 7 +++
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
index
Update linux-headers/linux/kvm.h from
https://github.com/avpatel/linux/tree/riscv_kvm_v19.
Only use this header file, so here do not update all linux headers by
update-linux-headers.sh until above KVM series is accepted.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
---
Add virtual time context description to vmstate_riscv_cpu. After cpu being
loaded, virtual time context is updated to KVM.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
---
target/riscv/machine.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target/riscv/machine.c
Get isa info from kvm while kvm init.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
target/riscv/kvm.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/target/riscv/kvm.c b/target/riscv/kvm.c
index
Extend riscv_cpu_update_mip() to support setting external interrupt
by KVM. It will call kvm_riscv_set_irq() to change the IRQ state in
the KVM module When kvm is enabled and the MIP_SEIP bit is set in "mask"
In addition, bacause target/riscv/cpu_helper.c is used to TCG, so move
Put GPR CSR and FP registers to kvm by KVM_SET_ONE_REG ioctl
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
target/riscv/kvm.c | 141 -
1 file changed, 140 insertions(+), 1 deletion(-)
diff --git
Get GPR CSR and FP registers from kvm by KVM_GET_ONE_REG ioctl.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
target/riscv/kvm.c | 150 -
1 file changed, 149 insertions(+), 1 deletion(-)
diff --git
We hope that virtual time adjusts with vm state changing. When a vm
is stopped, guest virtual time should stop counting and kvm_timer
should be stopped. When the vm is resumed, guest virtual time should
continue to count and kvm_timer should be restored.
Signed-off-by: Yifei Jiang
Signed-off-by:
This series adds both riscv32 and riscv64 kvm support, and implements
migration based on riscv. It is based on temporarily unaccepted kvm:
https://github.com/kvm-riscv/linux (lastest version v19).
This series depends on above pending changes which haven't yet been
accepted, so this QEMU patch
Use char-fe to handle console sbi call, which implement early
console io while apply 'earlycon=sbi' into kernel parameters.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
---
target/riscv/kvm.c | 42 -
target/riscv/sbi_ecall_interface.h | 72
Add target/riscv/kvm.c to place kvm_arch_* function needed by
kvm/kvm-all.c. Meanwhile, add kvm support in meson.build file.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
meson.build | 2 +
target/riscv/kvm.c | 133
'host' type cpu is set isa to RV32 or RV64 simply, more isa info
will obtain from KVM in kvm_arch_init_vcpu()
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
target/riscv/cpu.c | 15 +++
target/riscv/cpu.h | 1 +
2 files changed, 16
Get kernel and fdt start address in virt.c, and pass them to KVM
when cpu reset. In addition, add kvm_riscv.h to place riscv specific
interface.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
hw/riscv/boot.c | 11 +++
hw/riscv/virt.c
Add kvm_riscv_get/put_regs_timer to synchronize virtual time context
from KVM.
To set register of RISCV_TIMER_REG(state) will occur a error from KVM
on kvm_timer_state == 0. It's better to adapt in KVM, but it doesn't matter
that adaping in QEMU.
Signed-off-by: Yifei Jiang
Signed-off-by:
commit 2e668a61d5ae4("Fix error handling when adding MCS labels") uses
the 'pctx' in virReportError after it has been freed. Fix it.
Fixes: 2e668a61d5ae4cbd6f79e096d0c394f186e132bd
Signed-off-by: eillon
---
src/security/security_selinux.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
On a Thursday in 2021, Peter Krempa wrote:
Hi,
this series started as an exploration in how we use
'query-command-line-options' and the way to possibly step away from
using it. The main problem is that query-command-line-options is using
old-style command line parsing infra in qemu and thus
On a Thursday in 2021, Peter Krempa wrote:
The configurability of the number of dies in a CPU can be infered from
inferred
the presence of the 'die-id' field in 'query-hotpluggable-cpus'.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 2 +-
1 file changed, 1 insertion(+), 1
On a Thursday in 2021, Peter Krempa wrote:
Add a cross reference of the enum value name with the string
representation. This allows a quick cross-reference of the values
without having to open the header and implementation files separately.
To achieve this the python checker code at first
On Mon, 16 Aug 2021, Peter Krempa wrote:
> On Mon, Aug 16, 2021 at 19:01:27 +0530, Ani Sinha wrote:
> >
> >
> > On Mon, 16 Aug 2021, Peter Krempa wrote:
> >
> > > On Mon, Aug 16, 2021 at 18:35:48 +0530, Ani Sinha wrote:
> > > > Hi :
> > > >
> > > > getting this strange build error here.
'acpi-pci-hotplug-with-bridge-support' and 'acpi-root-pci-hotplug' are two pm
options in qemu that governs acpi hotplug support. This is a WIP patch that
tries to implement support for both these two global qemu options.
'acpi-pci-hotplug-with-bridge-support' applies both for q35 as well as i440fx
On Mon, 16 Aug 2021, Peter Krempa wrote:
> On Mon, Aug 16, 2021 at 18:35:48 +0530, Ani Sinha wrote:
> > Hi :
> >
> > getting this strange build error here. Googling did not help. Anyone has
> > any ideas as to what I am missing? I am on Ubuntu 20.04 LTS.
>
> [...]
>
> > function
How can I disable building docs?
On Mon, 16 Aug 2021, Ani Sinha wrote:
>
>
> On Mon, 16 Aug 2021, Peter Krempa wrote:
>
> > On Mon, Aug 16, 2021 at 18:35:48 +0530, Ani Sinha wrote:
> > > Hi :
> > >
> > > getting this strange build error here. Googling did not help. Anyone has
> > > any ideas as
On Mon, Aug 16, 2021 at 19:01:27 +0530, Ani Sinha wrote:
>
>
> On Mon, 16 Aug 2021, Peter Krempa wrote:
>
> > On Mon, Aug 16, 2021 at 18:35:48 +0530, Ani Sinha wrote:
> > > Hi :
> > >
> > > getting this strange build error here. Googling did not help. Anyone has
> > > any ideas as to what I am
On Thu, Aug 12, 2021 at 04:48:53PM +0200, Peter Krempa wrote:
Hi,
this series started as an exploration in how we use
'query-command-line-options' and the way to possibly step away from
using it. The main problem is that query-command-line-options is using
old-style command line parsing infra in
On Mon, Aug 16, 2021 at 03:15:20PM +0200, Peter Krempa wrote:
On Mon, Aug 16, 2021 at 15:09:39 +0200, Martin Kletzander wrote:
On Thu, Aug 12, 2021 at 04:49:08PM +0200, Peter Krempa wrote:
> 'set-numa-node' is the command which can set the equivalent parameters
> to '-numa' in preconfig mode,
On Mon, Aug 16, 2021 at 18:35:48 +0530, Ani Sinha wrote:
> Hi :
>
> getting this strange build error here. Googling did not help. Anyone has
> any ideas as to what I am missing? I am on Ubuntu 20.04 LTS.
[...]
> function `virAdmConnectIsAlive':
>
On Mon, Aug 16, 2021 at 15:09:39 +0200, Martin Kletzander wrote:
> On Thu, Aug 12, 2021 at 04:49:08PM +0200, Peter Krempa wrote:
> > 'set-numa-node' is the command which can set the equivalent parameters
> > to '-numa' in preconfig mode, so we can use it as witness to see that
> > -numa is
Hi :
getting this strange build error here. Googling did not help. Anyone has
any ideas as to what I am missing? I am on Ubuntu 20.04 LTS.
FAILED: src/libvirt-admin.so.0.7006.0
cc -o src/libvirt-admin.so.0.7006.0
src/libvirt-admin.so.0.7006.0.p/meson-generated_.._admin_admin_protocol.c.o
On Thu, Aug 12, 2021 at 04:49:08PM +0200, Peter Krempa wrote:
'set-numa-node' is the command which can set the equivalent parameters
to '-numa' in preconfig mode, so we can use it as witness to see that
-numa is supported.
To ensure that the old detection method is removed once we'll be bumping
On Thu, Aug 12, 2021 at 04:48:57PM +0200, Peter Krempa wrote:
Add a cross reference of the enum value name with the string
representation. This allows a quick cross-reference of the values
without having to open the header and implementation files separately.
To achieve this the python checker
Ping
On Wed, Jul 28, 2021 at 11:17 AM Andrew Melnychenko
wrote:
> This series of patches add RSS property support for virtio-net-pci.
>
> Virtio RSS effectively works with TAP devices, it requires additional
> vectors for VirtioNet, queues for TAP device, and vCPU cores.
> Example of device
Signed-off-by: Luke Yue
---
tests/virshtest.c | 24
1 file changed, 24 insertions(+)
diff --git a/tests/virshtest.c b/tests/virshtest.c
index 53db2aa19a..273596d636 100644
--- a/tests/virshtest.c
+++ b/tests/virshtest.c
@@ -291,6 +291,22 @@ static int
Signed-off-by: Luke Yue
---
examples/xml/test/testdevcontroller.xml | 1 +
examples/xml/test/testdevdiskcdrom.xml | 5 +++
examples/xml/test/testdevfs.xml | 6
examples/xml/test/testdevhostdev.xml| 5 +++
examples/xml/test/testdevif.xml | 6
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index e2463876fa..21e813db8f 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -9731,6 +9731,14 @@
Introduce testDomainChgDevice for further development (just like what we
did for IOThread). And introduce testDomainDetachDeviceLiveAndConfig for
detaching devices.
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 270 +
1 file changed, 270
Luke Yue (5):
test_driver: Implement virDomainDetachDeviceFlags
test_driver: Implement virDomainDetachDeviceAlias
test_driver: Implement virDomainDetachDevice
examples: xml: test: add xml for testing devices related APIs
tests: Test detach-device and detach-device-alias for test driver
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 2ebdbaa604..e2463876fa 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -9721,6 +9721,16 @@
As we are using jobState to store dummy job type, so just change it to
VIR_DOMAIN_JOB_CANCELLED when try to abort a job.
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/src/test/test_driver.c
Signed-off-by: Luke Yue
---
tests/virshtest.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tests/virshtest.c b/tests/virshtest.c
index 53db2aa19a..0c46496c74 100644
--- a/tests/virshtest.c
+++ b/tests/virshtest.c
@@ -291,6 +291,13 @@ static int
priv-jobState is used to store dummy job type, and priv->jobOperation is
used to store dummy job operation, they are initialized to
VIR_DOMAIN_JOB_NONE and VIR_DOMAIN_JOB_OPERATION_UNKNOWN, we can
just change them in other job related APIs as there is no real job in test
driver.
Signed-off-by:
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 105 +
1 file changed, 105 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 9306f0e104..93aeec7105 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@
v2:
- Change to priv->jobState to store job type directly instead of using
time
- Use priv->jobOperation to store job operation for virDomainGetJobStats
Luke Yue (4):
test_driver: Implement virDomainGetJobInfo
test_driver: Implement virDomainGetJobStats
test_driver: Implement
Hello, Peter,
I submitted one issue as the link:
https://gitlab.com/libvirt/libvirt/-/issues/201
Create memory snapshot while kill -9 the pid of the vm, snapshot-create-as
command failed and the vm can not started again for blocked . (#201) · Issues ·
libvirt / libvirt · GitLab
With
On Mon, Aug 16, 2021 at 11:04:12 +0800, 13520781...@189.cn wrote:
>
> Hello,
>
> I have meet one issues while using snapshot-create-as with external file.
>
> Centos 8,
> Libivirt 7.0.0
> Qemu: 5.2.0
>
> While making one snapshot with memory and disk extaernal file, and killing
> the
On Mon, Aug 16, 2021 at 10:29:39AM +0200, Peter Krempa wrote:
On Mon, Aug 16, 2021 at 10:17:26 +0200, Martin Kletzander wrote:
On Thu, Aug 12, 2021 at 04:55:04PM +0200, Peter Krempa wrote:
> In case the test directory contains invalid XML (this doesn't happen
> upstream, but can when
Hello,
I have meet one issues while using snapshot-create-as with external file.
Centos 8,
Libivirt 7.0.0
Qemu: 5.2.0
While making one snapshot with memory and disk extaernal file, and killing
the process of the vm qemu same time mostly, the snapshot-create-as command
blocked.
So it
On Mon, Aug 16, 2021 at 10:17:26 +0200, Martin Kletzander wrote:
> On Thu, Aug 12, 2021 at 04:55:04PM +0200, Peter Krempa wrote:
> > In case the test directory contains invalid XML (this doesn't happen
> > upstream, but can when developing, e.g. by forgetting git conflict
> > markers) the tests
On Thu, Aug 12, 2021 at 04:55:04PM +0200, Peter Krempa wrote:
In case the test directory contains invalid XML (this doesn't happen
upstream, but can when developing, e.g. by forgetting git conflict
markers) the tests would crash as in case when 'testQemuInfoSetArgs'
fails we'd still invoke the
On a %A in %Y, Jiri Denemark wrote:
> No need to overwrite vmid_ex_id with a pointer to another copy of the
> same string when the original is still alive.
>
> Signed-off-by: Jiri Denemark
> ---
> src/util/virnetdevopenvswitch.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git
55 matches
Mail list logo