[lkml]   [2010]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 11/11] Unplug emulated disks and nics
    On 05/26/2010 05:27 AM, Stefano Stabellini wrote:
    > It is needed for LINUX_VERSION_CODE, see below:
    >>> +
    >>> +#define XEN_IOPORT_MAGIC_VAL 0x49d2
    >>> +#define XEN_IOPORT_LINUX_PRODNUM 0xffff
    >>> +#define XEN_IOPORT_LINUX_DRVVER ((LINUX_VERSION_CODE << 8) + 0x0)

    Ah. What's that for? Does qemu change its behaviour depending on the
    kernel version? Ah, something to do with blacklisting. But is the
    Linux kernel version the most useful value here? Shouldn't there be
    some kind of separate version number? And what's the blacklisting stuff
    for anyway?

    Wow, this interface is perverse. It reuses the same IO port but changes
    function depending on the size of the IO? Again, wow.


     \ /
      Last update: 2010-05-26 23:01    [W:0.019 / U:65.184 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site