From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRRPr-0004oq-CO for qemu-devel@nongnu.org; Fri, 18 Nov 2011 11:35:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RRRPq-0002aO-Fv for qemu-devel@nongnu.org; Fri, 18 Nov 2011 11:35:51 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:62444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRRPq-0002aK-DS for qemu-devel@nongnu.org; Fri, 18 Nov 2011 11:35:50 -0500 Received: by ghbg16 with SMTP id g16so893127ghb.4 for ; Fri, 18 Nov 2011 08:35:49 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 18 Nov 2011 17:35:36 +0100 Message-Id: <1321634138-24687-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1.0 0/2] Fix compilation of 9pfs on old systems List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: erik.rull@rdsoftware.de Old systems do not have AT_REMOVEDIR, and 9pfs fails to compile on them. Patch 2 fixes that, patch 1 actually let me test it on Linux. :) Probably the same push-down should be done also for open(2) flags, for consistency. For example, some systems may not have O_DIRECTORY. However, this would be a much larger work, so I'm sticking with the easy bits for now. Paolo Bonzini (2): 9p: allow compiling the dummy virtio-9p-handle.c code on Linux 9p: pass dotl flags to the unlinkat method hw/9pfs/virtio-9p-handle.c | 15 +++++++++++++-- hw/9pfs/virtio-9p.c | 10 ---------- 2 files changed, 13 insertions(+), 12 deletions(-) -- 1.7.7.1