From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Akio Takebe <takebe_akio@jp.fujitsu.com>
Subject: Re: Why cannot HVM open a file as a floopy disk?
Date: Tue, 23 Jun 2009 16:32:03 +0900 [thread overview]
Message-ID: <EC9F3D4B3F47Ftakebe_akio@jp.fujitsu.com> (raw)
In-Reply-To: <19003.33574.353737.587400@mariner.uk.xensource.com>
>Akio Takebe writes ("Re: [Xen-devel] Why cannot HVM open a file as a floopy
>disk?"):
>> Thank you very much for your elaborating.
>> We usually use /dev/floppy of dom0 as floppy disk of guest.
>
>Right, and the code specifically checks whether the backing object in
>dom0 is a block device, and if so treats it unconditionally as raw.
>
>> So a raw format floppy disk is not important.
>
>I'm not sure what you're saying ? I asked:
> Does anyone use Xen with non-raw floppy disk images in disk files ?
I thought /dev/floppy is treated as bdrv_host_device
rather than bdrv_raw.
Does raw format mean both bdrv_host_device and bdrv_raw?
>
>> The restriction is reasonable, but xend would need to be fixed
>> because it hangup.
>
>The error handling is appallingly bad, I'm afraid.
>
>> Also I concern about a emulate ide disk of the raw format.
>> Is it also vulnerable?
>
>No, there are no vulnerabilities of this kind in our tree - precisely
>because of the refusal of the format-guessing algorithm to return
>`raw', which is a change I introduced. The effect is that any attempt
>to provide a raw image, in circumstances where the code attempts to
>guess the format, fails.
>
>In upstream qemu the default configuration is vulnerable, I think, for
>most block devices, but I haven't double-checked the latest code. On
>the other hand in general in recent upstream qemu it is always
>possible to specify the format, elminating the problem.
Thank you, I understand.
Best Regards,
Akio Takebe
prev parent reply other threads:[~2009-06-23 7:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-10 4:09 Why cannot HVM open a file as a floopy disk? Akio Takebe
2009-06-16 15:10 ` Ian Jackson
2009-06-19 2:22 ` Akio Takebe
2009-06-19 12:23 ` Ian Jackson
2009-06-23 7:32 ` Akio Takebe [this message]
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=EC9F3D4B3F47Ftakebe_akio@jp.fujitsu.com \
--to=takebe_akio@jp.fujitsu.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.