public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: kvm@vger.kernel.org
Subject: .git/config corruption using 9p virtio in guest
Date: Fri, 04 Nov 2011 17:52:50 -0700	[thread overview]
Message-ID: <4EB488E2.3010001@linux.intel.com> (raw)

I have a 32b Fedora 15 guest mounting a filesystem from an Ubuntu 11.10
64b host using virtio and 9p. I'm using the "mapping" security mode
(tried squash as well). While I can create, edit, and delete files, when
I try to create or clone a git repository, I end up with garbage for the
first bit of the newly created .git config.

$ kvm --version
QEMU emulator version 0.14.1 (qemu-kvm-0.14.1), Copyright (c) 2003-2008
Fabrice Bellard

$ uname -a
Linux rage 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux

$ virt-manager --version
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
0.9.0

The underlying filesystem on the host is an md RAID0 array mounted as:
/dev/md0 on /build type ext4 (rw,noatime,nodiratime,commit=6000)

I was hoping to use 9p/virtio to avoid having to generate a number of
larger vm images which I'm using to build full OSes. I'd like the
resulting images to be easily accessible on the host.

Any thoughts on a solution?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel

             reply	other threads:[~2011-11-05  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05  0:52 Darren Hart [this message]
2011-11-07 11:18 ` .git/config corruption using 9p virtio in guest Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB488E2.3010001@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox