NetKVM: BZ#1121933 - check for VIRTIO_F_ANY_LAYOUT feature before using optimized layour for data transfer.

From 94dbe9c0c3a4d68c2efd35392e3b7dea21b2f7db Mon Sep 17 00:00:00 2001
From: Yan Vugenfirer <yvugenfi@redhat.com>
Date: Wed, 13 Aug 2014 15:14:41 +0300
Subject: [PATCH] NetKVM: BZ#1121933 - check for VIRTIO_F_ANY_LAYOUT feature
 before using optimized layour for data transfer.
balloon: bz#1130853: fix bsod on several pnp whql tests.

The EVT_WDF_FILE_CLOSE callback can be called after EVT_WDF_DEVICE_D0_EXIT
callback was executed. Make sure to check if the device was not removed
before accessing it.
balloon: fixed code analysis errors.
update status file. mm110 <-->b90
NetKVM: BZ#1096505: Moving receive queue logic in a separate class CParaNdisRXPath

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Cosmetic fixes: alignment, double semicolon, file location in the project

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: context upper-layer pending packet counter

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Control queue placed in a separate class

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Introducing AbstractPath, common superclass for all NetKBM pathes

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Transmit path changed to inhertit from AbstractPath

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: AbstractPath split into generic AbstractPath and template class so that pointers to AbstractPath may be accessed from the interrupt handler

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: pRXBuffer contains pointer to queue where it belongs; reused through pointer

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: RXPath and TXPath allocated as array of size 1

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Queue amd message indices field in AbstractPath

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: DEBUG_EXIT_STATUS raises print level to 0 on error

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Message index in Path class instance

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Message indices removed from context, stored only in path's instances

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Interrupp handling prepared for multiqueue

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: RX/TX pathes combined into CPUPathesBundle class

Signed-off-by: Joseph Hindin <yhindin@redhat.com>
NetKVM: BZ#1096505: Querying hardware queues number

Signed-off-by: Joseph Hindin <yhindin@redhat.com>