[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO |
Date: |
Wed, 02 May 2012 07:38:02 -0400 (EDT) |
> On 05/02/2012 01:26 PM, Paolo Bonzini wrote:
> >> and everyone should be happy :). I would really like to have as
> >> little #ifdef TARGET_S390 code in QEMU. And #ifdef __s390__ is
> >> even worse,
> >> as it means we won't be able to execise that code path on other
> >> architectures.
> > True, but how do you exercise that code path with DASD geometry
> > on !__s390__?
>
> If we make things a flag for the guessing code, it should work just
> as well with image files, right?
Only when they're not blank. :) I was only thinking of #ifdef __s390__
for the call to HDIO_GETGEO.
Paolo
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Paolo Bonzini, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Stefan Weinhuber, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02