Skip to main content

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

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.8.tar.gz (12.9 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.8-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymctp_exerciser_qemu-0.2.8.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pymctp_exerciser_qemu-0.2.8.tar.gz
Algorithm Hash digest
SHA256 90b6005d6dd890b992409c795934270a1e01f5b1fe43789424834115480d90b8
MD5 b53def83fd3da72d8c04a1c083dedce5
BLAKE2b-256 fb952b20fcc9c9890ce071594037f3ee52db66963e0ee04bd812bceb85325497

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_qemu-0.2.8.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.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pymctp_exerciser_qemu-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 17c7f58c47ad670e2648d00e77c004ae2f8fcb9795b1d093c7ab823f43ac24f2
MD5 de596c90f1ebe4fac007ff54a0228a07
BLAKE2b-256 fcb50e9cd689927a0cef8eedf2f7e19c1660ef96268f32da8c71a2abaa778d3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_qemu-0.2.8-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.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.8 This release

2 files

0.2.5

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page