weltling
Repos
17
Followers
369
Following
3

Communication through a serial port or named pipe

47
9

Packaging metadata for OBS

1
0

Events

create branch
weltling create branch cxx_v4
Created at 6 hours ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 8 hours ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 12 hours ago

vcpu: Implement set_cpuid2 call

This is complled by the absent topology handling in MSHV. Passing the CPUID leafs with the topology is integrated into the common mechanism of setting and patching CPUID in Cloud Hypervisor. As a side effect - now all the other CPUID values will be passed to the hypervisor through the register intercept call.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

mshv: Pass topology explicitly while constructing cpuid

Unlike KVM, there's no internal handling for topoolgy under MSHV. Thus, if no topology has been passed during the CH launch, use the boot CPUs count to construct the topology struct.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

seccomp: Add filter entry for MSHV_VP_REGISTER_INTERCEPT_RESULT

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

tests: Enable topology integration tests under mshv

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 12 hours ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 12 hours ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 12 hours ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 13 hours ago

tests: Replace use of "curl" with direct HTTP API calls

Fixes: #5128

Signed-off-by: Ravi kumar Veeramally ravikumar.veeramally@intel.com

build: Bump proc-macro2 from 1.0.53 to 1.0.54 in /fuzz

Bumps proc-macro2 from 1.0.53 to 1.0.54.


updated-dependencies:

  • dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

build: Bump semver from 1.0.16 to 1.0.17

Bumps semver from 1.0.16 to 1.0.17.


updated-dependencies:

  • dependency-name: semver dependency-type: indirect update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

docs: document that vmcoredump is conditionally compiled

Fixes #5311.

Signed-off-by: Omer Faruk Bayram omer.faruk@sartura.hr

scripts: dev_cli: mention the --local flag in the help string

Signed-off-by: Omer Faruk Bayram omer.faruk@sartura.hr

vcpu: Implement set_cpuid2 call

This is complled by the absent topology handling in MSHV. Passing the CPUID leafs with the topology is integrated into the common mechanism of setting and patching CPUID in Cloud Hypervisor. As a side effect - now all the other CPUID values will be passed to the hypervisor through the register intercept call.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

mshv: Pass topology explicitly while constructing cpuid

Unlike KVM, there's no internal handling for topoolgy under MSHV. Thus, if no topology has been passed during the CH launch, use the boot CPUs count to construct the topology struct.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

seccomp: Add filter entry for MSHV_VP_REGISTER_INTERCEPT_RESULT

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

tests: Enable topology integration tests under mshv

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 15 hours ago
delete branch
weltling delete branch fixups_00
Created at 18 hours ago

cxx: more example

Signed-off-by: Anatol Belski ab@php.net

vals: Inherit from both type and ref

Signed-off-by: Anatol Belski ab@php.net

Created at 1 day ago

vcpu: Expose more parameters for register intercept result hypercall

This especially concerns subleaf_specific and ecx. In cases like topology configuration that are passed through the leafs 0xb or 0x1f, multiple subleafs are involved and thus the hypercall arguments need to be prepared accordingly.

In addition to the exposed configuration parameters, some more inline documentation is added to improve the understanding on the hypercall configuration and arguments.

Signed-off-by: Anatol Belski anbelski@linux.microsoft.com

Created at 1 day ago
pull request closed
ir-test: Improve console args handling

The console arg parsing functionality is pulled through a dedicated class. The license is MIT which seems compatible with the IR license.

The ir-test program code is moved under misc-utils subdirectory, where the arg parsing library is added as well. The current options have been migrated to the new class, some more options have been added for a better flexibility.

Especially there are two new options to pass BUILD_DIR and SRC_DIR, that would override the corresponding environment variables if supplied. Otherwise, the env variables will be used, thus maintaining the backward compatible behavior.

The help output is automatically generated by the arg parsing library:

$ ./ir-test --help
Usage: ir-test [options]

Execute IR tests

  --show-diff                Print failed test diff to stdout
  --no-color                 Disable output colorization
  --build-dir arg (=.)       Bulid dir path. When passed, overrides the BUILD_DIR environment variable
  --src-dir arg (=.)         Source dir path. When passed, overrides the SRC_DIR environment variable
  --test-dir arg (=./tests)  Test dir path. 
  --ir-exe arg               Path to the `ir` test app. 
  -h, --help                 Display help text and exit

Unknown options would make the program bail out:

 $ ./ir-test --no-such-opt
ERROR: unknown option '--no-such-opt'
Try 'ir-test --help' for more information.

While on this change, several exception handling arguments have been constified to comply better with the other parts of the code.

Fixes: #10

Created at 1 day ago
issue comment
ir-test: Improve console args handling

Abandoning this one for now. The change is too extensive and leads the focus away from the main dev subject. The present functionality is good enough to serve the project. Any further functionality is to be supplied in a minimalistic manner, as the need arises.

Thanks

Created at 1 day ago