qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/scsi/mptendian: Avoid taking address of fiel


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] hw/scsi/mptendian: Avoid taking address of fields in packed structs
Date: Fri, 28 Sep 2018 11:25:28 +0100

On 28 September 2018 at 09:15, Fam Zheng <address@hidden> wrote:
> On Thu, 09/27 14:48, Peter Maydell wrote:
>> NB: tested with qemu-system-x86_64 -cpu host -enable-kvm -m 4096
>>  -device mptsas1068 -drive id=mydisk,if=none,file=harddisk.qcow2
>>  -device scsi-disk,drive=mydisk
>> which behaves no differently before or after the patch, though
>> the guest I have (an x86 ubuntu) seems to detect the controller
>> but not find any disks attached to it. Maybe my command line is wrong?
>
> But do you see a /dev/sda in guest (or does it boot at all)?

No, it doesn't boot -- it can't find a disk so it dumps
me to an initrd prompt, where there's nothing in
/dev/disk/by-id/ except the cdrom drive.

thanks
-- PMM



reply via email to

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