Commit Graph

1010 Commits

Author SHA1 Message Date
Justin Cormack
0759efd8b1 Merge pull request #336 from ncopa/kernel-to-arch-dir
Move built kernel to arch specific subdir
2016-07-25 16:19:33 +01:00
Natanael Copa
0bb80957bc Move built kernel to arch specific subdir
We want be able to build kernels for different archs without that they
clash with each other so we but the generated files into an $arch subdir.

Signed-off-by: Natanael Copa <natanael.copa@docker.com>
2016-07-25 17:18:02 +02:00
Justin Cormack
a36af2022c Merge pull request #349 from justincormack/novmwarevsock
Remove some VMWare devices
2016-07-25 15:56:35 +01:00
Justin Cormack
8ae5000ae7 Remove some VMWare devices
In particular vsock causes issues with virtio vsock

We are not supporting VMWare platform at present so not relevant..

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-25 14:23:24 +01:00
Justin Cormack
417c32ff6a Merge pull request #347 from justincormack/mobyconfigfix2
Fix up mobyconfig startup code
2016-07-25 14:03:44 +01:00
Justin Cormack
01a588cb6b Fix up mobyconfig startup code
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-25 14:03:03 +01:00
Justin Cormack
47562b1e03 Merge pull request #346 from justincormack/mobyconfigfix
fix typo
2016-07-25 12:36:19 +01:00
Justin Cormack
4f5db70e9c fix typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-25 12:35:45 +01:00
Justin Cormack
efb5e03004 Merge pull request #343 from justincormack/etchosts
add etc/hosts database key, as requested at Docker London
2016-07-22 14:41:15 +01:00
Justin Cormack
93b72d5cfe add etc/hosts database key, as requested at Docker London
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 14:27:20 +01:00
David Sheets
119740435d Merge pull request #340 from dsheets/transfused-notify-channel
transfused notify channel
2016-07-22 13:58:28 +01:00
Justin Cormack
a4f6fcc811 Merge pull request #341 from justincormack/vmwaredocs
Document that VMWare Fusion is working
2016-07-22 13:55:31 +01:00
Justin Cormack
1e3d006184 Document that VMWare Fusion is working
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 13:54:42 +01:00
Justin Cormack
f94f913ca6 Merge pull request #339 from justincormack/vmwaredrive
Support VMWare emulation
2016-07-22 13:43:27 +01:00
Justin Cormack
054c384230 Add default SCSI device used by VMWare Fusion
As this is the default emulation, nicer to have it work.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 13:41:45 +01:00
David Sheets
78cca476fb transfused: copyedit a couple error messages
Signed-off-by: David Sheets <dsheets@docker.com>
2016-07-22 13:40:52 +01:00
David Sheets
ddd0fcc603 transfused: add separate FUSE notify channel to avoid deadlock
This adds a new notify channel to the transfuse protocol. It is not
optional yet but could be made to be optional. A notify protocol and
notify channel are required because writing FUSE response messages to
the FUSE device has different semantics from writing asynchronous
notifications. In particular, response message writes only error on
malformed messages, do not take locks, and do not block. In contrast,
asynchronous notifications can error under normal conditions
(e.g. invalidating a cache entry that doesn't exist), can take locks
during the write call, and can block.

If responses and notifications occur in the same thread, the file system
can become deadlocked when syscalls lock resources waiting for a
response and a notification is written that blocks attempting to acquire
those same locks. The response that would unlock the contended lock
could be queued behind the notification write but the notification write
can't unblock until the response is written in the future. This patch
enables file systems to avoid that fate by offering a secondary channel
on which to send notifications.

Signed-off-by: David Sheets <dsheets@docker.com>
2016-07-22 13:35:57 +01:00
Justin Cormack
bcd922216a Add VMWare kernel features
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 12:54:20 +01:00
Justin Cormack
df2b9255cf Merge pull request #337 from justincormack/vmwareconsole
use correct tty for bios, fixes lack of login on VMWare Fusion
2016-07-22 11:41:41 +01:00
Justin Cormack
8ce6422fe4 use correct tty for bios, fixes lack of login on VMWare Fusion
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 11:39:41 +01:00
Justin Cormack
59ed4b1917 Merge pull request #335 from justincormack/xendoc
Expand platform docs with Xen PV example
2016-07-22 11:19:24 +01:00
Justin Cormack
fde779b6ca Expand platform docs with Xen PV example
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-22 11:19:02 +01:00
Justin Cormack
43dbfe0ce7 Merge pull request #332 from justincormack/quietdb
only try to mount db for desktop editions
2016-07-22 10:53:40 +01:00
Justin Cormack
be68e3330a Merge pull request #324 from ncopa/alpine-gummiboot
Use upstream gummiboot binary and build EFI with alpine
2016-07-22 10:52:38 +01:00
Justin Cormack
4a563a8530 Merge pull request #333 from justincormack/diagnosticsfix
allow for args for servers in diagnostics
2016-07-21 18:39:37 +01:00
Justin Cormack
45edded90e allow for args for servers in diagnostics
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 18:38:38 +01:00
Justin Cormack
85726ee406 only try to mount db for desktop editions
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 18:37:34 +01:00
Justin Cormack
9ada58e5aa Merge pull request #331 from justincormack/fixdiag
fix typo
2016-07-21 17:35:37 +01:00
Justin Cormack
c5b2246168 fix typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 17:35:11 +01:00
Justin Cormack
f519f52449 Merge pull request #330 from justincormack/unknownplatform
default to unknown platform if not specified in command line
2016-07-21 17:26:59 +01:00
Justin Cormack
9117486b3f default to unknown platform if not specified in command line
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 17:25:48 +01:00
Justin Cormack
3d647e8fbb Merge pull request #329 from justincormack/diskdetect
Tweak disk detection diagnostics to match what is going on better
2016-07-21 16:15:04 +01:00
Justin Cormack
c97a22116c Tweak disk detection diagnostics to match what is going on better
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 15:48:24 +01:00
Justin Cormack
3284a8ec44 Merge pull request #328 from justincormack/CLFAGS
typo
2016-07-21 15:38:32 +01:00
Justin Cormack
19cd3d7163 Merge pull request #327 from justincormack/armbuild
Clean up sources that arm edition will not need
2016-07-21 13:47:23 +01:00
Natanael Copa
e8174e34b5 Use upstream gummiboot binary and build EFI with alpine
Alpine 3.4 got gummiboot backported so we use that to build the EFI.

Signed-off-by: Natanael Copa <natanael.copa@docker.com>
2016-07-21 14:42:05 +02:00
Justin Cormack
7cebdba16b typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 13:41:56 +01:00
Justin Cormack
68435c64ba Clean up sources that arm edition will not need
As arm will not be a desktop edition, we will not need to
try to fix these. We do need `diagnostics` though, the
vsock code however is not cross building, needs to be fixed
or made conditional.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 13:39:03 +01:00
Justin Cormack
a6e098d173 Merge pull request #326 from justincormack/openrcshutdown
use openrc for shutdown
2016-07-21 13:32:47 +01:00
Justin Cormack
adcfa94158 use openrc for shutdown
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-21 12:57:05 +01:00
Rolf Neugebauer
2e54a4d295 Merge pull request #309 from justincormack/tapvsockvmbus
Use mobyplatform not vmbus for tap-vsock
2016-07-21 10:34:57 +01:00
Justin Cormack
23de0c630a Merge pull request #319 from nathanleclaire/posix_shell
Remove bash-isms in cloud build scripts
2016-07-21 09:54:46 +01:00
Justin Cormack
6499edf953 Merge pull request #321 from nathanleclaire/rm_walinuxagent
Remove Windows Azure Linux agent Dockerfile
2016-07-21 09:53:53 +01:00
Justin Cormack
18a8b4faaa Merge pull request #313 from justincormack/hvtools-vmbus
Use platform to decide whether to run hv tools
2016-07-21 09:53:18 +01:00
Justin Cormack
fb6aeacf7c Merge pull request #312 from justincormack/vsuddvmbus
Use platform name not vmbus
2016-07-21 09:52:48 +01:00
Nathan LeClaire
5f13b6aac7 Remove Windows Azure Linux agent Dockerfile
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-07-20 18:54:53 -07:00
Nathan LeClaire
1b00703f0f Remove bash-isms in cloud build scripts
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-07-20 17:35:40 -07:00
Justin Cormack
48e4100e2f Merge pull request #306 from justincormack/chronyconfig
Fix up chronyd support for editions
2016-07-21 00:45:27 +01:00
Justin Cormack
13453d6fb5 Merge pull request #320 from nathanleclaire/diagnostic_oops
Diagnostic oops
2016-07-21 00:43:56 +01:00
Nathan LeClaire
cf0fc1f75b Remove unused file
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-07-20 13:48:52 -07:00