Skip to main content

QEMU I2C/I3C exerciser for pymctp

Project description

pymctp-exerciser-qemu

QEMU I2C and I3C exerciser support for pymctp.

This package provides exerciser implementations for interfacing with QEMU's I2C and I3C virtual devices to send and receive MCTP packets in virtualized environments.

Installation

pip install pymctp-exerciser-qemu

Requirements

  • pymctp >= 0.1.0
  • crc8 >= 0.1.0
  • QEMU with I2C/I3C device support

Exercisers Included

QemuI2CNetDevSocket

Interfaces with QEMU I2C devices via network sockets.

from pymctp.exerciser import get_exerciser

QemuI2CSocket = get_exerciser('qemu-i2c')
socket = QemuI2CSocket(
    host='localhost',
    port=5555,
    addr=0x20
)

QemuI3CCharDevSocket

Interfaces with QEMU I3C devices via character devices.

from pymctp.exerciser import get_exerciser

QemuI3CSocket = get_exerciser('qemu-i3c')
socket = QemuI3CSocket(
    chardev_path='/tmp/i3c-socket',
    addr=0x20
)

Auto-Registration

This package automatically registers both exercisers with pymctp when installed:

  • qemu-i2c: QemuI2CNetDevSocket
  • qemu-i3c: QemuI3CCharDevSocket

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymctp_exerciser_qemu-0.2.5.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymctp_exerciser_qemu-0.2.5-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pymctp_exerciser_qemu-0.2.5.tar.gz.

File metadata

  • Download URL: pymctp_exerciser_qemu-0.2.5.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymctp_exerciser_qemu-0.2.5.tar.gz
Algorithm Hash digest
SHA256 eed6bea97bd958d1f603be5d74fcbae33c69b6bfa4f6f6d524edfc3d5dfe1e70
MD5 11339566217d734348115664ca138952
BLAKE2b-256 2dc5c64aad074edff8123637e651a1d4d40ade879b46c80a10e05bb96cf7ef83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_qemu-0.2.5.tar.gz:

Publisher: publish.yml on jls5177/pymctp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymctp_exerciser_qemu-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pymctp_exerciser_qemu-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 88bf503038b837bacc03f435fdd37a7250fdad3c5baf7867a3f01cc0cb609592
MD5 3dbed403dc8c3eb33e2af7190e041055
BLAKE2b-256 2011454418949dd3b6838b7478f7fe4200bc00b45abdc9ccf2853d1e7cbcacd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_qemu-0.2.5-py3-none-any.whl:

Publisher: publish.yml on jls5177/pymctp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page