1) Add VMDK format

2) Make console proxy servlet explictly return content-type header for console proxy page (this is a bug fix change)
This commit is contained in:
Kelven Yang 2010-08-24 18:58:38 -07:00
parent 5fb852f0ca
commit 49900a8985
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,8 @@ public class Storage {
QCOW2(true, true, false),
RAW(false, false, false),
VHD(true, true, true),
ISO(false, false, false);
ISO(false, false, false),
VMDK(true, true, true);
private final boolean thinProvisioned;
private final boolean supportSparse;

View File

@ -281,7 +281,7 @@ public class ConsoleProxyServlet extends HttpServlet {
}
private void sendResponse(HttpServletResponse resp, String content) {
try {
try {
resp.getWriter().print(content);
} catch(IOException e) {
if(s_logger.isInfoEnabled())