qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1.0 0/2] Fix compilation of 9pfs on old systems
@ 2011-11-18 16:35 Paolo Bonzini
  2011-11-18 16:35 ` [Qemu-devel] [PATCH 1.0 1/2] 9p: allow compiling the dummy virtio-9p-handle.c code on Linux Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paolo Bonzini @ 2011-11-18 16:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: erik.rull

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-22  0:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 16:35 [Qemu-devel] [PATCH 1.0 0/2] Fix compilation of 9pfs on old systems Paolo Bonzini
2011-11-18 16:35 ` [Qemu-devel] [PATCH 1.0 1/2] 9p: allow compiling the dummy virtio-9p-handle.c code on Linux Paolo Bonzini
2011-11-18 16:35 ` [Qemu-devel] [PATCH 1.0 2/2] 9p: pass dotl flags to the unlinkat method Paolo Bonzini
2011-11-22  0:21 ` [Qemu-devel] [PATCH 1.0 0/2] Fix compilation of 9pfs on old systems Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).