[Qemu-devel] Speed up Guest clock

2013-10-07 Thread Vishal Verma
I'm trying to modify QEMU to speed up the guest clock to conduct some long running experiments. Is this feasible? One thing I have thought of: Modify icount_time_shift related stuff to make things happen faster. But I'm unsure if it will have the desired effect.

Re: [Qemu-devel] [PATCH v2 0/8] nvdimm: hotplug support

2016-08-18 Thread Vishal Verma
On 08/18, Dan Williams wrote: > [ adding Vishal who implemented the kernel side of nvdimm hotplug support ] > > On Thu, Aug 11, 2016 at 11:54 PM, Xiao Guangrong > wrote: > > This patchset is against commit c597dc90fbcd6 (virtio-net: allow increasing > > rx queue

Re: [Qemu-devel] [ndctl PATCH 0/8] dimm label space initialization support

2016-10-20 Thread Vishal Verma
with label commands > libndctl: add ndctl_cmd_cfg_read_get_size() > ndctl: provide a read_labels() helper > ndctl: init-labels command > ndctl: check-labels command > Hi Dan, Here is the bash completion patch for the new commands: 8<- >From

[PATCH 2/3] hw/acpi-build: account for NVDIMM numa nodes in SRAT

2020-04-27 Thread Vishal Verma
-numa node,nodeid=3,mem=0, -object memory-backend-file,id=nvmem1,share,mem-path=nvdimm-1,size=16384M,align=128M -device nvdimm,memdev=nvmem1,id=nv1,label-size=2M,node=3 Cc: Jingqi Liu Cc: Michael S. Tsirkin Signed-off-by: Vishal Verma --- hw/i386/acpi-build.c | 20 1

[PATCH 0/3] account for NVDIMM nodes during SRAT generation

2020-04-27 Thread Vishal Verma
to update the expected SRAT binary, and the tests (make check) pass. Patches 1 and 3 are the relevant ones for the binary update. Patch 2 is the main patch which changes SRAT generation. Vishal Verma (3): diffs-allowed: add the SRAT AML to diffs-allowed hw/acpi-build: account for NVDIMM numa nodes

[PATCH 1/3] diffs-allowed: add the SRAT AML to diffs-allowed

2020-04-27 Thread Vishal Verma
In anticipation of a change to the SRAT generation in qemu, add the AML file to diffs-allowed. Signed-off-by: Vishal Verma --- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables

[PATCH 3/3] tests/acpi: update expected SRAT files

2020-04-27 Thread Vishal Verma
0170: 00 00 00 F8 00 00 00 00 00 00 00 00 03 00 00 00 // 0180: 00 00 00 00 00 00 00 00 // .... Signed-off-by: Vishal Verma --- tests/data/acpi/pc/SRAT.dimmpxm | Bin 392 -> 392 bytes tests/data/acpi/q35/SRAT.dimmpxm

[PATCH v2 3/3] tests/acpi: update expected SRAT files

2020-05-27 Thread Vishal Verma
0170: 00 00 00 F8 00 00 00 00 00 00 00 00 03 00 00 00 // 0180: 00 00 00 00 00 00 00 00 // .... Signed-off-by: Vishal Verma --- tests/data/acpi/pc/SRAT.dimmpxm | Bin 392 -> 392 bytes tests/data/acpi/q35/SRAT.dimmpxm

[PATCH v2 1/3] diffs-allowed: add the SRAT AML to diffs-allowed

2020-05-27 Thread Vishal Verma
In anticipation of a change to the SRAT generation in qemu, add the AML file to diffs-allowed. Signed-off-by: Vishal Verma --- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables

[PATCH v2 0/3] account for NVDIMM nodes during SRAT generation

2020-05-27 Thread Vishal Verma
are the relevant ones for the binary update. Patch 2 is the main patch which changes SRAT generation. Vishal Verma (3): diffs-allowed: add the SRAT AML to diffs-allowed hw/acpi-build: account for NVDIMM numa nodes in SRAT tests/acpi: update expected SRAT files hw/acpi/nvdimm.c | 26

[PATCH v2 2/3] hw/acpi-build: account for NVDIMM numa nodes in SRAT

2020-05-27 Thread Vishal Verma
-numa node,nodeid=3,mem=0, -object memory-backend-file,id=nvmem1,share,mem-path=nvdimm-1,size=16384M,align=128M -device nvdimm,memdev=nvmem1,id=nv1,label-size=2M,node=3 Cc: Jingqi Liu Cc: Michael S. Tsirkin Reviewed-by: Jingqi Liu Signed-off-by: Vishal Verma --- hw/acpi/nvdimm.c

[PATCH v3 3/3] tests/acpi: update expected SRAT files

2020-05-28 Thread Vishal Verma
0170: 00 00 00 F8 00 00 00 00 00 00 00 00 03 00 00 00 // 0180: 00 00 00 00 00 00 00 00 // .... Signed-off-by: Vishal Verma --- tests/data/acpi/pc/SRAT.dimmpxm | Bin 392 -> 392 bytes tests/data/acpi/q35/SRAT.dimmpxm

[PATCH v3 1/3] diffs-allowed: add the SRAT AML to diffs-allowed

2020-05-28 Thread Vishal Verma
In anticipation of a change to the SRAT generation in qemu, add the AML file to diffs-allowed. Signed-off-by: Vishal Verma --- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables

[PATCH v3 2/3] hw/acpi-build: account for NVDIMM numa nodes in SRAT

2020-05-28 Thread Vishal Verma
-numa node,nodeid=3,mem=0, -object memory-backend-file,id=nvmem1,share,mem-path=nvdimm-1,size=16384M,align=128M -device nvdimm,memdev=nvmem1,id=nv1,label-size=2M,node=3 Cc: Jingqi Liu Cc: Michael S. Tsirkin Reviewed-by: Jingqi Liu Signed-off-by: Vishal Verma --- hw/acpi/nvdimm.c

[PATCH v3 0/3] account for NVDIMM nodes during SRAT generation

2020-05-28 Thread Vishal Verma
the instructions in bios-tables-test.c to update the expected SRAT binary, and the tests (make check) pass. Patches 1 and 3 are the relevant ones for the binary update. Patch 2 is the main patch which changes SRAT generation. Vishal Verma (3): diffs-allowed: add the SRAT AML to diffs-allowed hw

[PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-05-28 Thread Vishal Verma
-by: Jingqi Liu Signed-off-by: Vishal Verma --- hw/acpi/nvdimm.c | 23 +++ hw/arm/virt-acpi-build.c | 4 hw/i386/acpi-build.c | 5 + include/hw/mem/nvdimm.h | 1 + 4 files changed, 33 insertions(+) diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c index

[PATCH v4 3/3] tests/acpi: update expected SRAT files

2020-05-28 Thread Vishal Verma
Flags (decoded below) : 0003 Enabled : 1 Hot Pluggable : 1 Non-Volatile : 0 -[0B2h 0178 8]Reserved3 : 0000 +[0DAh 0218 8]Reserved3 : Signed-off

[PATCH v4 0/3] account for NVDIMM nodes during SRAT generation

2020-05-28 Thread Vishal Verma
for the binary update. Patch 2 is the main patch which changes SRAT generation. Vishal Verma (3): diffs-allowed: add the SRAT AML to diffs-allowed hw/acpi/nvdimm: add a helper to augment SRAT generation tests/acpi: update expected SRAT files hw/acpi/nvdimm.c | 23

[PATCH v4 1/3] diffs-allowed: add the SRAT AML to diffs-allowed

2020-05-28 Thread Vishal Verma
In anticipation of a change to the SRAT generation in qemu, add the AML file to diffs-allowed. Signed-off-by: Vishal Verma --- tests/qtest/bios-tables-test-allowed-diff.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios

[PATCH v5 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-06-05 Thread Vishal Verma
-file,id=nvmem1,share,mem-path=nvdimm-1,size=16384M,align=1G -device nvdimm,memdev=nvmem1,id=nv1,label-size=2M,node=3 Cc: Jingqi Liu Cc: Michael S. Tsirkin Reviewed-by: Jingqi Liu Reviewed-by: Igor Mammedov Signed-off-by: Vishal Verma --- hw/acpi/nvdimm.c | 23

[PATCH v5 1/3] diffs-allowed: add the SRAT AML to diffs-allowed

2020-06-05 Thread Vishal Verma
In anticipation of a change to the SRAT generation in qemu, add the AML file to diffs-allowed. Signed-off-by: Vishal Verma --- tests/qtest/bios-tables-test-allowed-diff.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios

[PATCH v5 3/3] tests/acpi: update expected SRAT files

2020-06-05 Thread Vishal Verma
Flags (decoded below) : 0003 Enabled : 1 Hot Pluggable : 1 Non-Volatile : 0 -[0B2h 0178 8]Reserved3 : 0000 +[0DAh 0218 8]Reserved3 : Signed-off

[PATCH v5 0/3] account for NVDIMM nodes during SRAT generation

2020-06-05 Thread Vishal Verma
. I've followed the instructions in bios-tables-test.c to update the expected SRAT binary, and the tests (make check) pass. Patches 1 and 3 are the relevant ones for the binary update. Patch 2 is the main patch which changes SRAT generation. Vishal Verma (3): diffs-allowed: add the SRAT AML