Description of problem: uuid got by command "wmic csproduct" in windows guest does not match the uuid number set in CLI. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.start windows xp guest by: /usr/libexec/qemu-kvm -drive file=winxp-32.qcow2,if=ide -net nic,macaddr=20:20:20:78:69:29 -net tap,script=/mnt/images/qemu-ifup -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -m 2048 -uuid 7af7c031-b321-402c-9c2f-3c359bf43948 -vnc :20 2.Type command "wmic csproduct" in cmd. Actual results: uuid got in the output of "wmic csproduct" is 31c0f77a-21b3-2c40-9c2f-3c359bf43948 Expected results: uuid number got by command "wmic csproduct" should be same with the uuid number set in commandline "-uuid". Additional info: win28k and win23k have the same problem.
Looks like a simply endianity issue. It's just the way UUIDs are parsed that is different. If you compare the input: 7af7c031-b321-402c-9c2f-3c359bf43948 and the output in the VM: 31c0f77a-21b3-2c40-9c2f-3c359bf43948 You'll see clearly that it's just changing [0][1][2][3]-[4][5]... with [3][2][1][0]-[5][4]-... I'd close this bug.
according comment1, close this bug.