qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option
Date: Sun, 9 Dec 2007 11:36:34 +0000
User-agent: KMail/1.9.7

> +                x86_cpu_def->vendor1 = cpu_to_le32(*(uint32_t *)val);
> +                x86_cpu_def->vendor2 = cpu_to_le32(*(uint32_t *)(val +
> 4)); +                x86_cpu_def->vendor3 = cpu_to_le32(*(uint32_t *)(val

Still not good enough. val might not be aligned.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]