Merge pull request #874 from c-po/qemu-fix-macbase

Testsuite: T861: use proper base MAC address from RFC7042
This commit is contained in:
Christian Breunig 2025-01-01 20:13:23 +01:00 committed by GitHub
commit 7720dfa743
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,7 +155,8 @@ def get_qemu_cmd(name, enable_uefi, disk_img, raid=None, iso_img=None, tpm=False
f' -device ahci,id=achi0' \
f' -device ide-cd,bus=achi0.0,drive=drive-cd1,id=cd1,bootindex=10'
macbase = '02:00:00:00:00'
# RFC7042 section 2.1.2 MAC addresses used for documentation
macbase = '00:00:5E:00:53'
cmd = f'qemu-system-x86_64 \
-name "{name}" \
-smp 2,sockets=1,cores=2,threads=1 \